diff options
author | Ross Burton <ross@openedhand.com> | 2008-07-03 15:26:52 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-07-03 15:26:52 +0000 |
commit | 8c28cb514d76a5deb86bbd6aef97bce6dfd659a6 (patch) | |
tree | 051798f45d872f6600b88915d4cbb6bcdbb7f40f | |
parent | 267f97edf4213fd3d57fb8741621b8dd88bc8c46 (diff) | |
download | openembedded-core-8c28cb514d76a5deb86bbd6aef97bce6dfd659a6.tar.gz openembedded-core-8c28cb514d76a5deb86bbd6aef97bce6dfd659a6.tar.bz2 openembedded-core-8c28cb514d76a5deb86bbd6aef97bce6dfd659a6.tar.xz 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.bb | 2 | ||||
-rwxr-xr-x | meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | 8 |
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 c496216ee..43e0fc391 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 a1db109a3..ce1f53ffa 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` |