aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-10-02 08:24:32 +0000
committerSteven Barth <steven@midlink.org>2015-10-02 08:24:32 +0000
commitd793f4b75bd93f8f24fbab206974c24f03b2e6a0 (patch)
treefa976a60f2656226faf12c0a1ce59862c9ca31fb /package/base-files/files/sbin
parenta67cdea59649a6c3930de98117401afbb07455bb (diff)
downloadmaster-187ad058-d793f4b75bd93f8f24fbab206974c24f03b2e6a0.tar.gz
master-187ad058-d793f4b75bd93f8f24fbab206974c24f03b2e6a0.tar.bz2
master-187ad058-d793f4b75bd93f8f24fbab206974c24f03b2e6a0.zip
base-files: sanitize and unify $PATH
Previously init and hotplug paths were different from console. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47080 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/hotplug-call2
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