#!/bin/sh do_setup=no # Test if we are booting a live system, or booting a system installed by # draklive-install for the first time. [ -f /etc/sysconfig/finish-install ] && . /etc/sysconfig/finish-install if [ "x$FINISH_INSTALL" = "xyes" -a -x /usr/sbin/finish-install ] ; then do_setup=yes fi # Test if we are running draklive-install directly from the boot menu. if grep -q '\binstall\b' /proc/cmdline ; then do_setup=yes fi if [ $do_setup = "yes" ] ; then if [ -x /usr/bin/plymouth ] ; then /usr/bin/plymouth quit --retain-splash fi /usr/bin/xinit /etc/X11/xdm/Xsetup_0 -- vt1 fi