summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-07-03 15:26:52 +0000
committerRoss Burton <ross@openedhand.com>2008-07-03 15:26:52 +0000
commit8c28cb514d76a5deb86bbd6aef97bce6dfd659a6 (patch)
tree051798f45d872f6600b88915d4cbb6bcdbb7f40f
parent267f97edf4213fd3d57fb8741621b8dd88bc8c46 (diff)
downloadopenembedded-core-8c28cb514d76a5deb86bbd6aef97bce6dfd659a6.tar.gz
openembedded-core-8c28cb514d76a5deb86bbd6aef97bce6dfd659a6.tar.bz2
openembedded-core-8c28cb514d76a5deb86bbd6aef97bce6dfd659a6.zip
xserver-nodm-init: add init script depends
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4807 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/xserver-kdrive-common/xserver-nodm-init.bb2
-rwxr-xr-xmeta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm8
2 files changed, 9 insertions, 1 deletions
diff --git a/meta/packages/xserver-kdrive-common/xserver-nodm-init.bb b/meta/packages/xserver-kdrive-common/xserver-nodm-init.bb
index c496216eee..43e0fc391d 100644
--- a/meta/packages/xserver-kdrive-common/xserver-nodm-init.bb
+++ b/meta/packages/xserver-kdrive-common/xserver-nodm-init.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
-PR = "r12"
+PR = "r13"
SRC_URI = "file://xserver-nodm"
S = ${WORKDIR}
diff --git a/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm b/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
index a1db109a31..ce1f53ffa7 100755
--- a/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
+++ b/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
@@ -1,4 +1,12 @@
#!/bin/sh
+#
+### BEGIN INIT INFO
+# Provides: xserver
+# Required-Start: $local_fs $remote_fs
+# Required-Stop: $local_fs $remote_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+### END INIT INFO
killproc() { # kill the named process(es)
pid=`/bin/pidof $1`