summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-07 02:18:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-07 02:18:59 +0000
commit46262e555dd82ac7df3a3e7e617c726cb511902f (patch)
tree0f66fc22ff32daea7687a7459791f2712bd1860f /package
parent26784daebd6edbc7c956f9fcf2fde18d03b13688 (diff)
include functions and network config in hotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2370 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/default/sbin/hotplug4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/default/sbin/hotplug b/package/base-files/default/sbin/hotplug
index 57ee969cf..4e009593a 100755
--- a/package/base-files/default/sbin/hotplug
+++ b/package/base-files/default/sbin/hotplug
@@ -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