summaryrefslogtreecommitdiffstats
path: root/meta/packages/xserver-kdrive-common
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 /meta/packages/xserver-kdrive-common
parent267f97edf4213fd3d57fb8741621b8dd88bc8c46 (diff)
downloadpoky-8c28cb514d76a5deb86bbd6aef97bce6dfd659a6.tar.gz
xserver-nodm-init: add init script depends
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4807 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xserver-kdrive-common')
-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)"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "x11" 3SECTION = "x11"
4PRIORITY = "optional" 4PRIORITY = "optional"
5PR = "r12" 5PR = "r13"
6 6
7SRC_URI = "file://xserver-nodm" 7SRC_URI = "file://xserver-nodm"
8S = ${WORKDIR} 8S = ${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 @@
1#!/bin/sh 1#!/bin/sh
2#
3### BEGIN INIT INFO
4# Provides: xserver
5# Required-Start: $local_fs $remote_fs
6# Required-Stop: $local_fs $remote_fs
7# Default-Start: 2 3 4 5
8# Default-Stop: 0 1 6
9### END INIT INFO
2 10
3killproc() { # kill the named process(es) 11killproc() { # kill the named process(es)
4 pid=`/bin/pidof $1` 12 pid=`/bin/pidof $1`