]> code.ossystems Code Review - openembedded-core.git/commitdiff
xserver-nodm-init: Only start in runlevel 5
authorDan McGregor <dan.mcgregor@usask.ca>
Fri, 29 Aug 2014 21:15:28 +0000 (15:15 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Sep 2014 09:24:19 +0000 (10:24 +0100)
Runlevel 3 is often multi-user without X, so don't start the X
server in runlevel 3. This allows one to start up a machine without
X running from the bootloader.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/x11-common/xserver-nodm-init.bb
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm

index 0a16ff5f83afc4df5e84490fc8411f8f0b98956e..b68d40e1be61c8b76c1b7bc868276830dcdb4040 100644 (file)
@@ -47,6 +47,6 @@ do_install() {
 RDEPENDS_${PN} = "${@base_conditional('ROOTLESS_X', '1', 'xuser-account', '', d)}"
 
 INITSCRIPT_NAME = "xserver-nodm"
-INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
+INITSCRIPT_PARAMS = "start 9 5 . stop 20 0 1 2 3 6 ."
 SYSTEMD_SERVICE_${PN} = "xserver-nodm.service"
 
index f6692a814bcf4183ef94ab1ac1d7c4a1801fcac2..ef6c11c3f2b996e4bb307297b6bfe755222c4e09 100755 (executable)
@@ -4,8 +4,8 @@
 # Provides: xserver
 # Required-Start: $local_fs $remote_fs dbus
 # Required-Stop: $local_fs $remote_fs
-# Default-Start:     5
-# Default-Stop:      0 1 6
+# Default-Start:     5
+# Default-Stop:      0 1 2 3 6
 ### END INIT INFO
 
 killproc() {            # kill the named process(es)