summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/x11-common/xserver-nodm-init.bb')
-rw-r--r--meta/recipes-graphics/x11-common/xserver-nodm-init.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
new file mode 100644
index 0000000000..c77b2f0f8b
--- /dev/null
+++ b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "Simple Xserver Init Script (no dm)"
2LICENSE = "GPL"
3SECTION = "x11"
4PRIORITY = "optional"
5PR = "r22"
6RDEPENDS_${PN} = "dbus-wait sudo"
7
8SRC_URI = "file://xserver-nodm"
9S = ${WORKDIR}
10
11PACKAGE_ARCH = "all"
12
13do_install() {
14 install -d ${D}/etc
15 install -d ${D}/etc/init.d
16 install xserver-nodm ${D}/etc/init.d
17}
18
19inherit update-rc.d
20
21INITSCRIPT_NAME = "xserver-nodm"
22INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."