2
0
forked from Ivasoft/openwrt

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
This commit is contained in:
Steven Barth
2015-10-02 08:24:32 +00:00
parent a24f7305cc
commit d7023fc0bc
4 changed files with 5 additions and 5 deletions

View File

@@ -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