From 6a6090cfb0e5044ac0d40f99951f345cb1526cb8 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 1 Aug 2008 12:55:48 +0000 Subject: initscripts: added initscript dependencies git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5003 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/initscripts/initscripts-1.0/finish.sh | 9 +++++++++ meta/packages/initscripts/initscripts-1.0/halt | 3 +-- meta/packages/initscripts/initscripts-1.0/save-rtc.sh | 10 +++++++++- meta/packages/initscripts/initscripts_1.0.bb | 2 +- 4 files changed, 20 insertions(+), 4 deletions(-) (limited to 'meta/packages') 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 \ -- cgit v1.2.3