2012-11-30 04:14:28 +08:00
|
|
|
#!/bin/sh
|
|
|
|
# Copyright (c) 2012 OpenWrt.org
|
|
|
|
[ "$DEVICE" == "lo" ] && exit 0
|
|
|
|
. /lib/ipv6/support.sh
|
|
|
|
|
|
|
|
case "$ACTION" in
|
|
|
|
ifup)
|
2012-12-03 17:18:53 +08:00
|
|
|
enable_interface "$INTERFACE" "$DEVICE"
|
2012-11-30 04:14:28 +08:00
|
|
|
;;
|
|
|
|
ifdown)
|
2012-12-03 17:18:53 +08:00
|
|
|
disable_interface "$INTERFACE" "$DEVICE"
|
2012-11-30 04:14:28 +08:00
|
|
|
;;
|
|
|
|
esac
|