Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 392c78d54282e429bf98943f5739fb1b > files > 1

matchbox-window-manager-1.2-21.mga5.src.rpm

#!/bin/sh
# to be sourced (so it blocks as long as firefox runs)
# (c) 2004 Mandrakesoft SA
# (c) 2006,2007 Mandriva SA

# this script runs a firefox instance with a specific profile
# and points it at register page
[ -f /etc/sysconfig/firstboot ] && . /etc/sysconfig/firstboot
[ -f /etc/sysconfig/finish-install ] && . /etc/sysconfig/finish-install
grep -q '\binstall\b' /proc/cmdline
RETVAL=$?

if  [ \( "x$FINISH_INSTALL" = "xyes" -a -x /usr/sbin/finish-install \) -o \( "x$FIRSTBOOT" = "xyes" -a -x /usr/bin/mozilla-firefox \) -o \( $RETVAL = 0 \)  ]; then
	/usr/bin/drakx-matchbox-window-manager > /dev/null 2>&1 &
       echo $! > /var/run/drakx-matchbox-window-manager.pid
fi