From e79221a4da4997354754135d9385617bebad252d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 12 Jan 2021 23:25:08 +0100 Subject: [PATCH] - rootfs: allow user modification to PATH and PS1 --- skel-root/general/files-etc/profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skel-root/general/files-etc/profile b/skel-root/general/files-etc/profile index 4ad87bdf..d2c1c09a 100644 --- a/skel-root/general/files-etc/profile +++ b/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