summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/profile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2016-02-08 14:28:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2016-02-08 14:28:50 +0000
commitcc289e0adb936bf350db2037544d7eb8e5b084c3 (patch)
tree5c91d58a6b92f380989cf4a68bd38b1807e308ea /package/base-files/files/etc/profile
parenta8936bde1f21ce12ca85a0585eed0a2392180221 (diff)
downloadmaster-31e0f0ae-cc289e0adb936bf350db2037544d7eb8e5b084c3.tar.gz
master-31e0f0ae-cc289e0adb936bf350db2037544d7eb8e5b084c3.tar.bz2
master-31e0f0ae-cc289e0adb936bf350db2037544d7eb8e5b084c3.zip
base-files: honor CONFIG_TARGET_INIT_PATH
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48678
Diffstat (limited to 'package/base-files/files/etc/profile')
-rw-r--r--package/base-files/files/etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile
index 8a55fecb37..ad8fe12b66 100644
--- a/package/base-files/files/etc/profile
+++ b/package/base-files/files/etc/profile
@@ -6,7 +6,7 @@ fgrep -sq '/ overlay ro,' /proc/mounts && {
echo 'Please try to remove files from /overlay/upper/... and reboot!'
}
-export PATH=/usr/sbin:/usr/bin:/sbin:/bin
+export PATH="%PATH%"
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
export HOME=${HOME:-/root}
export PS1='\u@\h:\w\$ '