From 8c28cb514d76a5deb86bbd6aef97bce6dfd659a6 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 3 Jul 2008 15:26:52 +0000 Subject: xserver-nodm-init: add init script depends git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4807 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/xserver-kdrive-common/xserver-nodm-init.bb | 2 +- .../packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'meta') 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` -- cgit v1.2.3