diff options
Diffstat (limited to 'openwrt/package/base-files/default/sbin/hotplug')
-rwxr-xr-x | openwrt/package/base-files/default/sbin/hotplug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/sbin/hotplug b/openwrt/package/base-files/default/sbin/hotplug index 57ee969cf..4e009593a 100755 --- a/openwrt/package/base-files/default/sbin/hotplug +++ b/openwrt/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 |