init: quiet set USER and HOME for root in startup scripts...

This commit is contained in:
K. Lange 2018-11-22 08:29:50 +09:00
parent bb91a91cac
commit 07e074f82d

View File

@ -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