#!/bin/sh
# This script is executed as part of the hotplug event with
# HOTPLUG_TYPE=iface, triggered by various scripts when an interface
# is configured (ACTION=ifup) or deconfigured (ACTION=ifdown).  The
# interface is available as INTERFACE, the real device as DEVICE.

[ "$DEVICE" == "lo" ] && exit 0

. /lib/functions.sh
. /lib/ipv6group/core_ipv6group.sh
#. /lib/ipv6group/core.sh

#ipv6group_init

case "$ACTION" in
	ifup | ifdown | ifupdate)
		ipv6group_load_default_ifaces_set
		#ipv6group_interface_event
	;;
esac
