From: Dan McGregor Date: Fri, 29 Aug 2014 21:15:28 +0000 (-0600) Subject: xserver-nodm-init: Only start in runlevel 5 X-Git-Tag: rev_ivi_2015_02_04~6731 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b30daec6c1ae157abb00bcf611837f8cc90d00e;p=scm%2Fbb%2Ftizen-distro.git xserver-nodm-init: Only start in runlevel 5 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. (From OE-Core rev: 116b8a48f0d701d8f0b7807144ffdb708aad215e) Signed-off-by: Dan McGregor Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb index 0a16ff5..b68d40e 100644 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb @@ -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" diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm index f6692a8..ef6c11c 100755 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm @@ -4,8 +4,8 @@ # Provides: xserver # Required-Start: $local_fs $remote_fs dbus # Required-Stop: $local_fs $remote_fs -# Default-Start: 2 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)