Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 61d2fdf8d87672c96202d33aa86747a8 > files > 3

matchbox-window-manager-1.2-30.mga9.src.rpm

#!/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