From e13a4fd8c463429f942d8a370eb6da41bce799f4 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 23 Feb 2019 15:48:22 +0200 Subject: [PATCH] /etc/profile: automatically export vars from /etc/environment --- board/common/overlay/etc/profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/common/overlay/etc/profile b/board/common/overlay/etc/profile index f56cf28154..0224094d57 100644 --- a/board/common/overlay/etc/profile +++ b/board/common/overlay/etc/profile @@ -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