projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: sanitize and unify $PATH
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
sbin
/
hotplug-call
diff --git
a/package/base-files/files/sbin/hotplug-call
b/package/base-files/files/sbin/hotplug-call
index 260be0b7a4e9e834eda140142361e726d9eb4a30..743871a3ff4b729d7e0f7903d33604dc9850fb40 100755
(executable)
--- 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/s
bin
+PATH=/
usr/sbin:/usr/bin:/sbin:/
bin
LOGNAME=root
USER=root
export PATH LOGNAME USER