diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-01 12:56:09 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-01 12:56:09 +0000 |
commit | 6f626196ecd14789b14a251421da43ad97d3b861 (patch) | |
tree | 4420b86d033b635449bb5d20e030ac19b01da2b6 /meta/packages/oh/qemu-config | |
parent | fda98550955c491a3cf33c01532bd144da43b6be (diff) | |
download | openembedded-core-6f626196ecd14789b14a251421da43ad97d3b861.tar.gz openembedded-core-6f626196ecd14789b14a251421da43ad97d3b861.tar.bz2 openembedded-core-6f626196ecd14789b14a251421da43ad97d3b861.zip |
qemu-config: added initscript dependencies and dropped killproc in favour of functions from initscripts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5005 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/oh/qemu-config')
-rwxr-xr-x | meta/packages/oh/qemu-config/qemu-autostart | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/meta/packages/oh/qemu-config/qemu-autostart b/meta/packages/oh/qemu-config/qemu-autostart index 5c11269389..db2668eb4e 100755 --- a/meta/packages/oh/qemu-config/qemu-autostart +++ b/meta/packages/oh/qemu-config/qemu-autostart @@ -1,12 +1,15 @@ #!/bin/sh +### BEGIN INIT INFO +# Provides: hddtemp +# Required-Start: $network +# Required-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: OProfile server +# Description: +### END INIT INFO -killproc() { # kill the named process(es) - pid=`/bin/ps -e x | - /bin/grep $1 | - /bin/grep -v grep | - /bin/sed -e 's/^ *//' -e 's/ .*//'` - [ "$pid" != "" ] && kill $pid -} +. /etc/init.d/functions case "$1" in start) |