#!/bin/sh # to be sourced # (c) 2004 Mandrakesoft SA # (c) 2006,2007 Mandriva SA use_matchbox=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 use_matchbox=yes fi # Test if we are running draklive-install directly from the boot menu. if grep -q '\binstall\b' /proc/cmdline ; then use_matchbox=yes fi if [ $use_matchbox = "yes" ] ; then /usr/bin/drakx-matchbox-window-manager > /dev/null 2>&1 & echo $! > /var/run/drakx-matchbox-window-manager.pid fi