diff options
-rw-r--r-- | meta/packages/xserver-kdrive-common/xserver-nodm-init.bb | 2 | ||||
-rwxr-xr-x | meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/packages/xserver-kdrive-common/xserver-nodm-init.bb b/meta/packages/xserver-kdrive-common/xserver-nodm-init.bb index ff1b4d529a..46cb164a51 100644 --- a/meta/packages/xserver-kdrive-common/xserver-nodm-init.bb +++ b/meta/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 = "r16" | 5 | PR = "r17" |
6 | RDEPENDS = "dbus-wait" | 6 | RDEPENDS = "dbus-wait" |
7 | 7 | ||
8 | SRC_URI = "file://xserver-nodm" | 8 | SRC_URI = "file://xserver-nodm" |
diff --git a/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm b/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm index 4996634156..f6399fc1fa 100755 --- a/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm +++ b/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | |||
@@ -13,7 +13,8 @@ killproc() { # kill the named process(es) | |||
13 | [ "$pid" != "" ] && kill $pid | 13 | [ "$pid" != "" ] && kill $pid |
14 | } | 14 | } |
15 | 15 | ||
16 | for x in $(cat /proc/cmdline); do | 16 | read CMDLINE < /proc/cmdline |
17 | for x in $CMDLINE; do | ||
17 | case $x in | 18 | case $x in |
18 | x11=false) | 19 | x11=false) |
19 | echo "X Server disabled" | 20 | echo "X Server disabled" |