diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-10-02 08:24:32 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2015-10-02 08:24:32 +0000 |
commit | d7023fc0bc4b66c44969276df9cbfe218f931250 (patch) | |
tree | 7a9824270ce880149bb84bbda911d101df6a6b7e /package/base-files/files/sbin/hotplug-call | |
parent | a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b (diff) | |
download | upstream-d7023fc0bc4b66c44969276df9cbfe218f931250.tar.gz upstream-d7023fc0bc4b66c44969276df9cbfe218f931250.tar.bz2 upstream-d7023fc0bc4b66c44969276df9cbfe218f931250.zip |
base-files: sanitize and unify $PATH
Previously init and hotplug paths were different from console.
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47080
Diffstat (limited to 'package/base-files/files/sbin/hotplug-call')
-rwxr-xr-x | package/base-files/files/sbin/hotplug-call | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/hotplug-call b/package/base-files/files/sbin/hotplug-call index 260be0b7a4..743871a3ff 100755 --- a/package/base-files/files/sbin/hotplug-call +++ b/package/base-files/files/sbin/hotplug-call @@ -5,7 +5,7 @@ export HOTPLUG_TYPE="$1" . /lib/functions.sh -PATH=/bin:/sbin:/usr/bin:/usr/sbin +PATH=/usr/sbin:/usr/bin:/sbin:/bin LOGNAME=root USER=root export PATH LOGNAME USER |