summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-08-01 12:55:48 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-08-01 12:55:48 +0000
commit6a6090cfb0e5044ac0d40f99951f345cb1526cb8 (patch)
tree7ab3c51ce22640fdf785753dfc811f5fccfb6418 /meta/packages
parentaa315fbacbff9cc6bbc317dfa860bf589d936b92 (diff)
downloadopenembedded-core-6a6090cfb0e5044ac0d40f99951f345cb1526cb8.tar.gz
openembedded-core-6a6090cfb0e5044ac0d40f99951f345cb1526cb8.tar.bz2
openembedded-core-6a6090cfb0e5044ac0d40f99951f345cb1526cb8.tar.xz
openembedded-core-6a6090cfb0e5044ac0d40f99951f345cb1526cb8.zip
initscripts: added initscript dependencies
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5003 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-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 63b6baa2f..183a384fa 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 f76c72177..609b793b7 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 e78607305..bf1737f50 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 d31c394e2..d2fc3d5e5 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 \