calamares/calamares-install-start

13 lines
382 B
Text
Raw Normal View History

#!/bin/sh
# tpgxyz@gmail.com
2015-04-18 14:12:34 +02:00
if grep -q '\bsystemd.unit=calamares.target\b' /proc/cmdline; then
if [ -x /usr/bin/startx ] && [ -x /usr/sbin/calamares-install-setup ]; then
/usr/bin/startx /usr/sbin/calamares-install-setup $* -- -dpi 96 vt1 -background none
else
echo "calamares-install-setup: critical programs are missing, check you system!"
sleep 30
reboot
fi
fi