diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-14 14:27:20 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-14 14:27:20 +0000 |
commit | c9b6e631f87656dc5597be3fde75e37f421b9714 (patch) | |
tree | 8b709b05ae73a9cd3c53f2901e21c2a0ab0af5fd /package/base-files/files/sbin/hotplug-call | |
parent | 33926ccf4d2bd7299b389ddeb3b0627e34103ab0 (diff) | |
download | upstream-c9b6e631f87656dc5597be3fde75e37f421b9714.tar.gz upstream-c9b6e631f87656dc5597be3fde75e37f421b9714.tar.bz2 upstream-c9b6e631f87656dc5597be3fde75e37f421b9714.zip |
CC: base-files: sanitize and unify $PATH
Previously init and hotplug paths were different from console.
Signed-off-by: Steven Barth <steven@midlink.org>
Backport of r47080
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48237 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |