mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-12 01:38:28 +02:00
6cc3afb23e
* mode 'downstream' renamed to 'router' * mode 'upstream' renamed to 'dhcpv6' * mode 'relay' added * cleanups and minor bugfixes in state handling git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34466 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
231 B
Bash
14 lines
231 B
Bash
#!/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
|