source: src-qt4/pc-xgui/resources/scripts/xinit-check @ 2781bac

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since 2781bac was 2781bac, checked in by Kris Moore <kris@…>, 15 months ago

After testing a new resolution and accepting it, we can start the first boot GUI
immediately

  • Property mode set to 100755
File size: 483 bytes
RevLine 
[1620346]1#!/bin/sh
2
[2781bac]3# Source our functions
4. /usr/local/share/pcbsd/scripts/functions.sh
5
[1620346]6if [ -e "/root/.xprofile" ]
7then
8. /root/.xprofile
9fi
10
11# Setting a language
12if [ -e "/etc/pcbsd-lang" ] ; then
13   LANG=`cat /etc/pcbsd-lang`
14   export LANG
15fi
16
17touch ${XGUITMP}/.xstartupsuccess
18/usr/local/bin/startfluxbox &
19PID=$!
20/usr/local/bin/pc-xgui -test
[2781bac]21if [ "${?}" = "0" ]; then
[1620346]22 echo "selected" > ${XGUITMP}/.selected
[2781bac]23
24  # Run the firstboot script immediately
25 run_firstboot
[1620346]26fi
27kill -9 ${PID}
Note: See TracBrowser for help on using the repository browser.