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 | 0988b541670d630cf22628e3cdd282cb542239db (patch) | |
tree | ba9ccb5307f86d6dc15e146592add3b9114d4e98 /openwrt/package/base-files/default/sbin | |
parent | 35dd7ffde66e9e9afdf7a3470965f288b8f93106 (diff) | |
download | mtk-20170518-0988b541670d630cf22628e3cdd282cb542239db.zip mtk-20170518-0988b541670d630cf22628e3cdd282cb542239db.tar.gz mtk-20170518-0988b541670d630cf22628e3cdd282cb542239db.tar.bz2 |
include functions and network config in hotplug
SVN-Revision: 2370
Diffstat (limited to 'openwrt/package/base-files/default/sbin')
-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 57ee969..4e00959 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 |