summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/finish.sh9
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/halt3
-rw-r--r--meta/packages/initscripts/initscripts-1.0/save-rtc.sh10
-rw-r--r--meta/packages/initscripts/initscripts_1.0.bb2
4 files changed, 20 insertions, 4 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/finish.sh b/meta/packages/initscripts/initscripts-1.0/finish.sh
index 63b6baa2f7..183a384faa 100755
--- a/meta/packages/initscripts/initscripts-1.0/finish.sh
+++ b/meta/packages/initscripts/initscripts-1.0/finish.sh
@@ -1,4 +1,13 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides: finish.sh
+# Required-Start: $remote_fs rmnologin
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Finish system start
+# Description:
+### END INIT INFO
if ! test -e /etc/.configured; then
> /etc/.configured
diff --git a/meta/packages/initscripts/initscripts-1.0/halt b/meta/packages/initscripts/initscripts-1.0/halt
index f76c72177b..609b793b7c 100755
--- a/meta/packages/initscripts/initscripts-1.0/halt
+++ b/meta/packages/initscripts/initscripts-1.0/halt
@@ -1,6 +1,5 @@
#! /bin/sh
-###
-# BEGIN INIT INFO
+### BEGIN INIT INFO
# Provides: halt
# Required-Start:
# Required-Stop:
diff --git a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh
index e786073051..bf1737f506 100644
--- a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh
+++ b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh
@@ -1,5 +1,13 @@
#! /bin/sh
-/etc/init.d/hwclock.sh stop
+### BEGIN INIT INFO
+# Provides: save-rtc
+# Required-Start:
+# Required-Stop: $local_fs hwclock
+# Default-Start: S
+# Default-Stop: 0 6
+# Short-Description: Store system clock into file
+# Description:
+### END INIT INFO
# Update the timestamp
date +%2m%2d%2H%2M%Y > /etc/timestamp
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb
index d31c394e26..d2fc3d5e52 100644
--- a/meta/packages/initscripts/initscripts_1.0.bb
+++ b/meta/packages/initscripts/initscripts_1.0.bb
@@ -4,7 +4,7 @@ PRIORITY = "required"
DEPENDS = "makedevs"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r115"
+PR = "r116"
SRC_URI = "file://functions \
file://halt \