diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-11-07 02:18:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-11-07 02:18:59 +0000 |
commit | 87486f7fa1759d8aca18410dc8082704a2400031 (patch) | |
tree | 0f66fc22ff32daea7687a7459791f2712bd1860f /package/base-files/default/sbin/hotplug | |
parent | 09eb92b72bb59a67cffe6ade9d2d0f4794ddad93 (diff) | |
download | upstream-87486f7fa1759d8aca18410dc8082704a2400031.tar.gz upstream-87486f7fa1759d8aca18410dc8082704a2400031.tar.bz2 upstream-87486f7fa1759d8aca18410dc8082704a2400031.zip |
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/base-files/default/sbin/hotplug')
-rwxr-xr-x | package/base-files/default/sbin/hotplug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/default/sbin/hotplug b/package/base-files/default/sbin/hotplug index 57ee969cf7..4e009593af 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 |