summaryrefslogtreecommitdiff
path: root/meta/packages/busybox
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-07-03 15:27:51 +0000
committerRoss Burton <ross@openedhand.com>2008-07-03 15:27:51 +0000
commit8499da7f6b721d9d57a2637c9fa10469d51e0c08 (patch)
tree53e5413414aba24341ff61a692108f6beca51acc /meta/packages/busybox
parent8c28cb514d76a5deb86bbd6aef97bce6dfd659a6 (diff)
downloadopenembedded-core-8499da7f6b721d9d57a2637c9fa10469d51e0c08.tar.gz
openembedded-core-8499da7f6b721d9d57a2637c9fa10469d51e0c08.tar.bz2
openembedded-core-8499da7f6b721d9d57a2637c9fa10469d51e0c08.zip
busybox: add init script depends
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4808 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/busybox')
-rw-r--r--meta/packages/busybox/busybox_1.9.1.bb2
-rw-r--r--meta/packages/busybox/files/hwclock.sh12
-rw-r--r--meta/packages/busybox/files/syslog13
3 files changed, 20 insertions, 7 deletions
diff --git a/meta/packages/busybox/busybox_1.9.1.bb b/meta/packages/busybox/busybox_1.9.1.bb
index cec4af8d59..acef718276 100644
--- a/meta/packages/busybox/busybox_1.9.1.bb
+++ b/meta/packages/busybox/busybox_1.9.1.bb
@@ -1,5 +1,5 @@
require busybox.inc
-PR = "r4"
+PR = "r6"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
http://busybox.net/downloads/fixes-1.9.1/busybox-1.9.1-lineedit.patch;patch=1 \
diff --git a/meta/packages/busybox/files/hwclock.sh b/meta/packages/busybox/files/hwclock.sh
index 5acfb9fb24..2e50425ba8 100644
--- a/meta/packages/busybox/files/hwclock.sh
+++ b/meta/packages/busybox/files/hwclock.sh
@@ -1,6 +1,14 @@
#!/bin/sh
-# hwclock.sh Set system clock to hardware clock, according to the UTC
-# setting in /etc/default/rcS (see also rcS(5)).
+### BEGIN INIT INFO
+# Provides: hwclock
+# Required-Start:
+# Required-Stop: $local_fs
+# Default-Start: S
+# Default-Stop: 0 6
+# Short-Description: Set system clock
+# Description: Set system clock to hardware clock, according to the UTC
+# setting in /etc/default/rcS (see also rcS(5)).
+### END INIT INFO
#
# WARNING: If your hardware clock is not in UTC/GMT, this script
# must know the local time zone. This information is
diff --git a/meta/packages/busybox/files/syslog b/meta/packages/busybox/files/syslog
index a999565e84..544524b26c 100644
--- a/meta/packages/busybox/files/syslog
+++ b/meta/packages/busybox/files/syslog
@@ -1,8 +1,13 @@
#! /bin/sh
-#
-# syslog init.d script for busybox syslogd/klogd
-# Written by Robert Griebl <sandman@handhelds.org>
-# Configuration file added by <bruno.randolf@4g-systems.biz>
+### BEGIN INIT INFO
+# Provides: sysklogd
+# Required-Start: $remote_fs $time
+# Required-Stop: $remote_fs $time
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: System logger
+### END INIT INFO
+
set -e
if [ -f /etc/syslog.conf ]; then