diff options
Diffstat (limited to 'meta/packages/x11-common/xserver-nodm-init.bb')
-rw-r--r-- | meta/packages/x11-common/xserver-nodm-init.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/x11-common/xserver-nodm-init.bb b/meta/packages/x11-common/xserver-nodm-init.bb new file mode 100644 index 0000000000..46cb164a51 --- /dev/null +++ b/meta/packages/x11-common/xserver-nodm-init.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Simple Xserver Init Script (no dm)" +LICENSE = "GPL" +SECTION = "x11" +PRIORITY = "optional" +PR = "r17" +RDEPENDS = "dbus-wait" + +SRC_URI = "file://xserver-nodm" +S = ${WORKDIR} + +PACKAGE_ARCH = "all" + +do_install() { + install -d ${D}/etc + install -d ${D}/etc/init.d + install xserver-nodm ${D}/etc/init.d +} + +inherit update-rc.d + +INITSCRIPT_NAME = "xserver-nodm" +INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." |