summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/ipv6-support/files/ipv6.hotplug
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-05-26 01:02:55 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-26 01:02:55 +0300
commit342045a35b1981a89e4bc80842b10c065e1050da (patch)
tree4140720b20e8d641c11da882010d6130a75fef21 /package/network/ipv6/ipv6-support/files/ipv6.hotplug
parent7338133dde8238afce34676214b494c8db96689b (diff)
parent1a116ce7818ecee5d167a9c0ebb1a0feca9120e6 (diff)
Merge trunk into realtek-unstable
Conflicts: Config.in feeds.conf.default package/base-files/files/etc/hotplug2-common.rules package/network/config/netifd/files/etc/init.d/network
Diffstat (limited to 'package/network/ipv6/ipv6-support/files/ipv6.hotplug')
-rw-r--r--package/network/ipv6/ipv6-support/files/ipv6.hotplug18
1 files changed, 0 insertions, 18 deletions
diff --git a/package/network/ipv6/ipv6-support/files/ipv6.hotplug b/package/network/ipv6/ipv6-support/files/ipv6.hotplug
deleted file mode 100644
index e3379b6b2..000000000
--- a/package/network/ipv6/ipv6-support/files/ipv6.hotplug
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2012 OpenWrt.org
-[ "$DEVICE" == "lo" ] && exit 0
-. /lib/ipv6/support.sh
-
-local mode
-config_get mode "$INTERFACE" mode
-
-case "$ACTION" in
- ifup)
- [ "$mode" != "downstream" ] && enable_static $INTERFACE $DEVICE
- [ "$mode" == "upstream" ] && enable_upstream $INTERFACE $DEVICE
- [ "$mode" == "downstream" ] && enable_downstream $INTERFACE $DEVICE
- ;;
- ifdown)
- disable_interface $INTERFACE $DEVICE
- ;;
-esac