summaryrefslogtreecommitdiffstats
path: root/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
diff options
context:
space:
mode:
authorMatthew Allum <mallum@openedhand.com>2006-09-03 14:26:12 +0000
committerMatthew Allum <mallum@openedhand.com>2006-09-03 14:26:12 +0000
commitf8b1e634eb3cfc6e59e9fe11b8a198aec6bd3d29 (patch)
treeeaf27bee8014a7ba1face4b44b24748975e98c4a /meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
parentf1f8c5a6a7234a7b618f98efbb3d28e414890fa9 (diff)
downloadpoky-f8b1e634eb3cfc6e59e9fe11b8a198aec6bd3d29.tar.gz
Check /proc/cmdline for 'x11=false' to disable X server startup
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@695 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm')
-rwxr-xr-xmeta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm9
1 files changed, 9 insertions, 0 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 be405bc008..a56edaa15b 100755
--- a/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
+++ b/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
@@ -8,6 +8,15 @@ killproc() { # kill the named process(es)
8 [ "$pid" != "" ] && kill $pid 8 [ "$pid" != "" ] && kill $pid
9} 9}
10 10
11for x in $(cat /proc/cmdline); do
12 case $x in
13 x11=false)
14 echo "X Server disabled"
15 exit 0;
16 ;;
17 esac
18done
19
11case "$1" in 20case "$1" in
12 start) 21 start)
13 # We don't want this script to block the rest of the boot process 22 # We don't want this script to block the rest of the boot process