summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/root/sbin/hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/root/sbin/hotplug')
-rwxr-xr-xobsolete-buildroot/sources/openwrt/root/sbin/hotplug1
1 files changed, 1 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/root/sbin/hotplug b/obsolete-buildroot/sources/openwrt/root/sbin/hotplug
index 74134e848..335ee8f88 100755
--- a/obsolete-buildroot/sources/openwrt/root/sbin/hotplug
+++ b/obsolete-buildroot/sources/openwrt/root/sbin/hotplug
@@ -1,6 +1,7 @@
#!/bin/ash
# $Id$
[ "${INTERFACE%%[0-9]*}" = "wds" ] && {
+ [ -x "/usr/sbin/nas" ] && /usr/sbin/nas lan $INTERFACE up
ifconfig $INTERFACE 0.0.0.0 up
/usr/sbin/brctl addif br0 $INTERFACE
}