2018-08-12 10:36:56 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
export-cmd START kcmdline -g start
|
|
|
|
|
2018-11-22 02:29:50 +03:00
|
|
|
# We haven't actually hit a login yet, so make sure these are set here...
|
|
|
|
export USER=root
|
|
|
|
export HOME=/home/root
|
|
|
|
|
2018-12-18 06:12:17 +03:00
|
|
|
echo -n "Launching startup application..." > /dev/pex/splash
|
|
|
|
echo -n "!quit" > /dev/pex/splash
|
|
|
|
|
2018-08-14 05:39:26 +03:00
|
|
|
if equals? "$START" "--vga" then exec /bin/terminal-vga -l
|
|
|
|
if equals? "$START" "--headless" then exec /bin/getty
|
2018-08-12 10:36:56 +03:00
|
|
|
if empty? "$START" then exec /bin/compositor else exec /bin/compositor $START
|
|
|
|
|