summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/oh/qemu-config.bb2
-rwxr-xr-xmeta/packages/oh/qemu-config/qemu-autostart17
2 files changed, 11 insertions, 8 deletions
diff --git a/meta/packages/oh/qemu-config.bb b/meta/packages/oh/qemu-config.bb
index bd5007d6f..f1b7de74a 100644
--- a/meta/packages/oh/qemu-config.bb
+++ b/meta/packages/oh/qemu-config.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
LICENSE = "GPL"
RDEPENDS = "distcc task-poky-nfs-server fakeroot oprofileui-server rsync bash"
-PR = "r15"
+PR = "r16"
SRC_URI = "file://distcc.sh \
file://anjuta-remote-run \
diff --git a/meta/packages/oh/qemu-config/qemu-autostart b/meta/packages/oh/qemu-config/qemu-autostart
index 5c1126938..db2668eb4 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)