diff options
author | John Crispin <blogic@openwrt.org> | 2013-06-10 08:24:02 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-06-10 08:24:02 +0000 |
commit | 64b1c42dac2e49d828bfb5feafd5f75e41ea6197 (patch) | |
tree | 138224eb541a90dc8423f2d9337b2b12b0d7bc56 /package/base-files/files/etc/profile | |
parent | 4314ac851cd3eb122b48e5c7186e9bbf34802db2 (diff) | |
download | upstream-64b1c42dac2e49d828bfb5feafd5f75e41ea6197.tar.gz upstream-64b1c42dac2e49d828bfb5feafd5f75e41ea6197.tar.bz2 upstream-64b1c42dac2e49d828bfb5feafd5f75e41ea6197.zip |
base-files: change PATH order
This allows packages to override busybox applets by placing the new
binaries in /usr/{sbin,bin}
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36890 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/profile')
-rw-r--r-- | package/base-files/files/etc/profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 171adc18ef..e9a7119f1a 100644 --- 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\$ ' |