diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-08 14:28:50 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-08 14:28:50 +0000 |
commit | 93f7ca2b58f0509fdb8a35d8c2a3c283b5d8f17d (patch) | |
tree | 574ef33e892ecedafa3d05e753592adfd73eb86c /package/base-files/files/etc/profile | |
parent | c351c01fd4b234c9990ad2bdab703807316a2d33 (diff) | |
download | master-187ad058-93f7ca2b58f0509fdb8a35d8c2a3c283b5d8f17d.tar.gz master-187ad058-93f7ca2b58f0509fdb8a35d8c2a3c283b5d8f17d.tar.bz2 master-187ad058-93f7ca2b58f0509fdb8a35d8c2a3c283b5d8f17d.zip |
base-files: honor CONFIG_TARGET_INIT_PATH
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48678 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 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\$ ' |