summaryrefslogtreecommitdiff
path: root/recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb')
-rw-r--r--recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb b/recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb
new file mode 100644
index 0000000000..91ccf06f63
--- /dev/null
+++ b/recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Simple Xserver Init Script (no dm)"
+LICENSE = "GPL"
+SECTION = "x11"
+PRIORITY = "optional"
+RDEPENDS = "xserver-common (>= 1.30) xinit"
+DEFAULT_PREFERENCE = "-1"
+
+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 01 5 2 . stop 01 1 6 ."