/etc/profile: automatically export vars from /etc/environment

This commit is contained in:
Calin Crisan 2019-02-23 15:48:22 +02:00
parent 2a863ae6aa
commit e13a4fd8c4

View File

@ -31,7 +31,8 @@ fi;
test -f /data/etc/profile && source /data/etc/profile
# global environment variables
set -a
test -f /etc/environment && source /etc/environment
test -f /data/etc/environment && source /data/etc/environment
test -f /boot/etc/environment && source /boot/etc/environment
set +a