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

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 2781bac was 2781bac, checked in by Kris Moore <kris@…>, 17 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
Line 
1#!/bin/sh
2
3# Source our functions
4. /usr/local/share/pcbsd/scripts/functions.sh
5
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
21if [ "${?}" = "0" ]; then
22 echo "selected" > ${XGUITMP}/.selected
23
24  # Run the firstboot script immediately
25 run_firstboot
26fi
27kill -9 ${PID}
Note: See TracBrowser for help on using the repository browser.