projects
/
openwrt
/
staging
/
adrian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc73ca5
)
base-files: change PATH order
author
John Crispin
<john@openwrt.org>
Mon, 10 Jun 2013 08:24:02 +0000
(08:24 +0000)
committer
John Crispin
<john@openwrt.org>
Mon, 10 Jun 2013 08:24:02 +0000
(08:24 +0000)
This allows packages to override busybox applets by placing the new
binaries in /usr/{sbin,bin}
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36890
package/base-files/files/etc/profile
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/profile
b/package/base-files/files/etc/profile
index 171adc18ef28fb114ab678d0f1ce669b41457a72..e9a7119f1afd696d1b94b0d1a8010c1537e00a32 100644
(file)
--- a/
package/base-files/files/etc/profile
+++ b/
package/base-files/files/etc/profile
@@
-1,7
+1,7
@@
#!/bin/sh
[ -f /etc/banner ] && cat /etc/banner
-export PATH=/
bin:/sbin:/usr/bin:/usr
/sbin
+export PATH=/
usr/bin:/usr/sbin:/bin:
/sbin
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
export HOME=${HOME:-/root}
export PS1='\u@\h:\w\$ '