#!/bin/sh
# Copyright (c) 2012 OpenWrt.org
[ "$DEVICE" == "lo" ] && exit 0
. /lib/ipv6/support.sh
case "$ACTION" in
ifup)
enable_interface "$INTERFACE" "$DEVICE"
;;
ifdown)
disable_interface "$INTERFACE" "$DEVICE"
esac