diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-01 12:55:48 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-01 12:55:48 +0000 |
commit | 6a6090cfb0e5044ac0d40f99951f345cb1526cb8 (patch) | |
tree | 7ab3c51ce22640fdf785753dfc811f5fccfb6418 /meta/packages/initscripts | |
parent | aa315fbacbff9cc6bbc317dfa860bf589d936b92 (diff) | |
download | poky-6a6090cfb0e5044ac0d40f99951f345cb1526cb8.tar.gz |
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/initscripts')
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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | ### BEGIN INIT INFO | ||
3 | # Provides: finish.sh | ||
4 | # Required-Start: $remote_fs rmnologin | ||
5 | # Required-Stop: | ||
6 | # Default-Start: 2 3 4 5 | ||
7 | # Default-Stop: | ||
8 | # Short-Description: Finish system start | ||
9 | # Description: | ||
10 | ### END INIT INFO | ||
2 | 11 | ||
3 | if ! test -e /etc/.configured; then | 12 | if ! test -e /etc/.configured; then |
4 | > /etc/.configured | 13 | > /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 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | ### | 2 | ### BEGIN INIT INFO |
3 | # BEGIN INIT INFO | ||
4 | # Provides: halt | 3 | # Provides: halt |
5 | # Required-Start: | 4 | # Required-Start: |
6 | # Required-Stop: | 5 | # 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 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | /etc/init.d/hwclock.sh stop | 2 | ### BEGIN INIT INFO |
3 | # Provides: save-rtc | ||
4 | # Required-Start: | ||
5 | # Required-Stop: $local_fs hwclock | ||
6 | # Default-Start: S | ||
7 | # Default-Stop: 0 6 | ||
8 | # Short-Description: Store system clock into file | ||
9 | # Description: | ||
10 | ### END INIT INFO | ||
3 | 11 | ||
4 | # Update the timestamp | 12 | # Update the timestamp |
5 | date +%2m%2d%2H%2M%Y > /etc/timestamp | 13 | 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" | |||
4 | DEPENDS = "makedevs" | 4 | DEPENDS = "makedevs" |
5 | RDEPENDS = "makedevs" | 5 | RDEPENDS = "makedevs" |
6 | LICENSE = "GPL" | 6 | LICENSE = "GPL" |
7 | PR = "r115" | 7 | PR = "r116" |
8 | 8 | ||
9 | SRC_URI = "file://functions \ | 9 | SRC_URI = "file://functions \ |
10 | file://halt \ | 10 | file://halt \ |