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

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

Fix a bug with xorg display wizard, we can skip restarting X if the user
likes the initial resolution

  • Property mode set to 100755
File size: 468 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 [ $? -eq 0 ]; then
22  touch ${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.