diff options
-rw-r--r-- | openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb | 2 | ||||
-rwxr-xr-x | openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb index 8b79b4bdd2..5dff889184 100644 --- a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb +++ b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
5 | PR = "r3" | 5 | PR = "r6" |
6 | 6 | ||
7 | SRC_URI = "file://xserver-nodm" | 7 | SRC_URI = "file://xserver-nodm" |
8 | S = ${WORKDIR} | 8 | S = ${WORKDIR} |
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm index 1c6f742a11..eeab55a71a 100755 --- a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm +++ b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | |||
@@ -8,12 +8,19 @@ killproc() { # kill the named process(es) | |||
8 | [ "$pid" != "" ] && kill $pid | 8 | [ "$pid" != "" ] && kill $pid |
9 | } | 9 | } |
10 | 10 | ||
11 | . /etc/profile | 11 | |
12 | 12 | ||
13 | case "$1" in | 13 | case "$1" in |
14 | start) | 14 | start) |
15 | # We don't want this script to block the rest of the boot process | ||
16 | if [ "$2" != "background" ]; then | ||
17 | $0 $1 background & | ||
18 | else | ||
19 | . /etc/profile | ||
20 | |||
15 | echo "Starting Xserver" | 21 | echo "Starting Xserver" |
16 | /etc/X11/Xserver & | 22 | /etc/X11/Xserver & |
23 | |||
17 | export DISPLAY=:0 | 24 | export DISPLAY=:0 |
18 | 25 | ||
19 | while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] | 26 | while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] |
@@ -22,6 +29,7 @@ case "$1" in | |||
22 | done | 29 | done |
23 | 30 | ||
24 | /etc/X11/Xsession & | 31 | /etc/X11/Xsession & |
32 | fi | ||
25 | ;; | 33 | ;; |
26 | 34 | ||
27 | stop) | 35 | stop) |