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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user