From 07e074f82dc2d343392177c32458e9e6cd8a3fe5 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Thu, 22 Nov 2018 08:29:50 +0900 Subject: [PATCH] init: quiet set USER and HOME for root in startup scripts... --- base/etc/startup.d/99_runstart.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/etc/startup.d/99_runstart.sh b/base/etc/startup.d/99_runstart.sh index 4642ca06..5c0ac2ba 100755 --- a/base/etc/startup.d/99_runstart.sh +++ b/base/etc/startup.d/99_runstart.sh @@ -2,6 +2,10 @@ export-cmd START kcmdline -g start +# We haven't actually hit a login yet, so make sure these are set here... +export USER=root +export HOME=/home/root + if equals? "$START" "--vga" then exec /bin/terminal-vga -l if equals? "$START" "--headless" then exec /bin/getty if empty? "$START" then exec /bin/compositor else exec /bin/compositor $START