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

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

Initial import of PC-BSD /current/ SVN repo

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