LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
-PR = "r3"
+PR = "r6"
SRC_URI = "file://xserver-nodm"
S = ${WORKDIR}
[ "$pid" != "" ] && kill $pid
}
-. /etc/profile
+
case "$1" in
start)
+ # We don't want this script to block the rest of the boot process
+ if [ "$2" != "background" ]; then
+ $0 $1 background &
+ else
+ . /etc/profile
+
echo "Starting Xserver"
/etc/X11/Xserver &
+
export DISPLAY=:0
while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
done
/etc/X11/Xsession &
+ fi
;;
stop)