summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 cec4af8d5..acef71827 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 5acfb9fb2..2e50425ba 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 a999565e8..544524b26 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