summaryrefslogtreecommitdiffstats
path: root/meta/packages/initscripts
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/initscripts
parentaa315fbacbff9cc6bbc317dfa860bf589d936b92 (diff)
downloadpoky-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')
-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 @@
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
3if ! test -e /etc/.configured; then 12if ! 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
5date +%2m%2d%2H%2M%Y > /etc/timestamp 13date +%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"
4DEPENDS = "makedevs" 4DEPENDS = "makedevs"
5RDEPENDS = "makedevs" 5RDEPENDS = "makedevs"
6LICENSE = "GPL" 6LICENSE = "GPL"
7PR = "r115" 7PR = "r116"
8 8
9SRC_URI = "file://functions \ 9SRC_URI = "file://functions \
10 file://halt \ 10 file://halt \