Browse Source

- rootfs: allow user modification to PATH and PS1

master
vanhofen 4 years ago
parent
commit
e79221a4da
  1. 4
      skel-root/general/files-etc/profile

4
skel-root/general/files-etc/profile

@ -15,6 +15,8 @@ if [ -z "$PS1" ]; then
fi
fi
export PATH PS1
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -f $i -a -r $i ]; then
@ -30,5 +32,3 @@ if [ -e /var/etc/profile.local ]; then
elif [ -e /etc/profile.local ]; then
. /etc/profile.local
fi
export PATH PS1

Loading…
Cancel
Save