diff options
Diffstat (limited to 'meta/recipes-graphics/x11-common/xserver-nodm-init.bb')
-rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init.bb | 22 |
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 @@ | |||
1 | DESCRIPTION = "Simple Xserver Init Script (no dm)" | ||
2 | LICENSE = "GPL" | ||
3 | SECTION = "x11" | ||
4 | PRIORITY = "optional" | ||
5 | PR = "r22" | ||
6 | RDEPENDS_${PN} = "dbus-wait sudo" | ||
7 | |||
8 | SRC_URI = "file://xserver-nodm" | ||
9 | S = ${WORKDIR} | ||
10 | |||
11 | PACKAGE_ARCH = "all" | ||
12 | |||
13 | do_install() { | ||
14 | install -d ${D}/etc | ||
15 | install -d ${D}/etc/init.d | ||
16 | install xserver-nodm ${D}/etc/init.d | ||
17 | } | ||
18 | |||
19 | inherit update-rc.d | ||
20 | |||
21 | INITSCRIPT_NAME = "xserver-nodm" | ||
22 | INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." | ||