include functions and network config in hotplug
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 7 Nov 2005 02:18:59 +0000 (02:18 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 7 Nov 2005 02:18:59 +0000 (02:18 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2370 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/default/sbin/hotplug

index 57ee969..4e00959 100755 (executable)
@@ -1,4 +1,8 @@
 #!/bin/sh
+. /etc/functions.sh
+. /etc/network.overrides
+[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
+
 PATH=/bin:/sbin:/usr/bin:/usr/sbin
 LOGNAME=root
 USER=root
This page took 0.022316 seconds and 4 git commands to generate.