summaryrefslogtreecommitdiff
path: root/meta/packages/xserver-kdrive-common/xserver-nodm-init
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xserver-kdrive-common/xserver-nodm-init')
-rwxr-xr-xmeta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm3
1 files changed, 2 insertions, 1 deletions
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 499663415..f6399fc1f 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)
[ "$pid" != "" ] && kill $pid
}
-for x in $(cat /proc/cmdline); do
+read CMDLINE < /proc/cmdline
+for x in $CMDLINE; do
case $x in
x11=false)
echo "X Server disabled"