Files
wifipineapple-openwrt/package/network/ipv6/ipv6-support/files/ipv6.hotplug
Steven Barth 70d19c877a ipv6-support: Second Iteration
* 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
2012-12-03 09:18:53 +00:00

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