summaryrefslogtreecommitdiff
path: root/meta/packages/busybox/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/files')
-rw-r--r--meta/packages/busybox/files/hwclock.sh12
-rw-r--r--meta/packages/busybox/files/syslog13
2 files changed, 19 insertions, 6 deletions
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