diff options
author | Ross Burton <ross@openedhand.com> | 2008-07-03 15:20:56 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-07-03 15:20:56 +0000 |
commit | bde70a9f31b1c266764724db329c8077f6734884 (patch) | |
tree | edb6c5c189bd3c359cc72052d91b673f1489744e /meta/packages/initscripts | |
parent | 2a7b3ad49137da3e3c4206df9b1fdb94652ae908 (diff) | |
download | poky-bde70a9f31b1c266764724db329c8077f6734884.tar.gz |
initscripts: add dependency headers
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4801 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/initscripts')
20 files changed, 143 insertions, 74 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/arm/alignment.sh b/meta/packages/initscripts/initscripts-1.0/arm/alignment.sh index 4a66dc6bc8..b577b9a03a 100644 --- a/meta/packages/initscripts/initscripts-1.0/arm/alignment.sh +++ b/meta/packages/initscripts/initscripts-1.0/arm/alignment.sh | |||
@@ -1,4 +1,11 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | ### BEGIN INIT INFO | ||
3 | # Provides: alignment | ||
4 | # Required-Start: mountkernfs | ||
5 | # Required-Stop: mountkernfs | ||
6 | # Default-Start: S | ||
7 | # Default-Stop: | ||
8 | ### END INIT INFO | ||
2 | 9 | ||
3 | if [ -e /proc/cpu/alignment ]; then | 10 | if [ -e /proc/cpu/alignment ]; then |
4 | echo "3" > /proc/cpu/alignment | 11 | echo "3" > /proc/cpu/alignment |
diff --git a/meta/packages/initscripts/initscripts-1.0/banner.sh b/meta/packages/initscripts/initscripts-1.0/banner.sh index 0349ce1954..9e2b091252 100644 --- a/meta/packages/initscripts/initscripts-1.0/banner.sh +++ b/meta/packages/initscripts/initscripts-1.0/banner.sh | |||
@@ -1,4 +1,11 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | ### BEGIN INIT INFO | ||
3 | # Provides: banner | ||
4 | # Required-Start: | ||
5 | # Required-Stop: | ||
6 | # Default-Start: S | ||
7 | # Default-Stop: | ||
8 | ### END INIT INFO | ||
2 | 9 | ||
3 | if [ ! -e /dev/tty ]; then | 10 | if [ ! -e /dev/tty ]; then |
4 | /bin/mknod -m 0666 /dev/tty c 5 0 | 11 | /bin/mknod -m 0666 /dev/tty c 5 0 |
diff --git a/meta/packages/initscripts/initscripts-1.0/bootmisc.sh b/meta/packages/initscripts/initscripts-1.0/bootmisc.sh index d67346b886..f8e1dd6578 100755 --- a/meta/packages/initscripts/initscripts-1.0/bootmisc.sh +++ b/meta/packages/initscripts/initscripts-1.0/bootmisc.sh | |||
@@ -1,6 +1,11 @@ | |||
1 | # | 1 | ### BEGIN INIT INFO |
2 | # bootmisc.sh Miscellaneous things to be done during bootup. | 2 | # Provides: bootmisc |
3 | # | 3 | # Required-Start: $local_fs mountvirtfs |
4 | # Required-Stop: $local_fs | ||
5 | # Default-Start: S | ||
6 | # Default-Stop: 0 6 | ||
7 | # Short-Description: Misc and other. | ||
8 | ### END INIT INFO | ||
4 | 9 | ||
5 | . /etc/default/rcS | 10 | . /etc/default/rcS |
6 | # | 11 | # |
diff --git a/meta/packages/initscripts/initscripts-1.0/checkfs.sh b/meta/packages/initscripts/initscripts-1.0/checkfs.sh index 7d2d75ef57..91897d4cbb 100755 --- a/meta/packages/initscripts/initscripts-1.0/checkfs.sh +++ b/meta/packages/initscripts/initscripts-1.0/checkfs.sh | |||
@@ -1,8 +1,11 @@ | |||
1 | # | 1 | ### BEGIN INIT INFO |
2 | # checkfs.sh Check all filesystems. | 2 | # Provides: checkfs |
3 | # | 3 | # Required-Start: checkroot |
4 | # Version: @(#)checkfs 2.83 05-Oct-2001 miquels@cistron.nl | 4 | # Required-Stop: |
5 | # | 5 | # Default-Start: S |
6 | # Default-Stop: | ||
7 | # Short-Description: Check all other file systems | ||
8 | ### END INIT INFO | ||
6 | 9 | ||
7 | . /etc/default/rcS | 10 | . /etc/default/rcS |
8 | 11 | ||
diff --git a/meta/packages/initscripts/initscripts-1.0/checkroot.sh b/meta/packages/initscripts/initscripts-1.0/checkroot.sh index 215b6de0ad..8226f543dd 100755 --- a/meta/packages/initscripts/initscripts-1.0/checkroot.sh +++ b/meta/packages/initscripts/initscripts-1.0/checkroot.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | ### BEGIN INIT INFO | 1 | ### BEGIN INIT INFO |
2 | # Provides: checkroot | 2 | # Provides: checkroot |
3 | # Required-Start: udev sysfs | 3 | # Required-Start: udev |
4 | # Required-Stop: | 4 | # Required-Stop: |
5 | # Default-Start: S | 5 | # Default-Start: S |
6 | # Default-Stop: | 6 | # Default-Stop: |
diff --git a/meta/packages/initscripts/initscripts-1.0/finish.sh b/meta/packages/initscripts/initscripts-1.0/finish.sh index 4f9f75f47c..63b6baa2f7 100755 --- a/meta/packages/initscripts/initscripts-1.0/finish.sh +++ b/meta/packages/initscripts/initscripts-1.0/finish.sh | |||
@@ -3,4 +3,3 @@ | |||
3 | if ! test -e /etc/.configured; then | 3 | if ! test -e /etc/.configured; then |
4 | > /etc/.configured | 4 | > /etc/.configured |
5 | fi | 5 | fi |
6 | |||
diff --git a/meta/packages/initscripts/initscripts-1.0/halt b/meta/packages/initscripts/initscripts-1.0/halt index d8cab222ca..f76c72177b 100755 --- a/meta/packages/initscripts/initscripts-1.0/halt +++ b/meta/packages/initscripts/initscripts-1.0/halt | |||
@@ -1,9 +1,14 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # | 2 | ### |
3 | # halt Execute the halt command. | 3 | # BEGIN INIT INFO |
4 | # | 4 | # Provides: halt |
5 | # Version: @(#)halt 2.84-2 07-Jan-2002 miquels@cistron.nl | 5 | # Required-Start: |
6 | # | 6 | # Required-Stop: |
7 | # Default-Start: | ||
8 | # Default-Stop: 0 | ||
9 | # Short-Description: Execute the halt command. | ||
10 | # Description: | ||
11 | ### END INIT INFO | ||
7 | 12 | ||
8 | PATH=/sbin:/bin:/usr/sbin:/usr/bin | 13 | PATH=/sbin:/bin:/usr/sbin:/usr/bin |
9 | 14 | ||
diff --git a/meta/packages/initscripts/initscripts-1.0/hostname.sh b/meta/packages/initscripts/initscripts-1.0/hostname.sh index 0f3d374286..4399ee7b18 100755 --- a/meta/packages/initscripts/initscripts-1.0/hostname.sh +++ b/meta/packages/initscripts/initscripts-1.0/hostname.sh | |||
@@ -1,11 +1,13 @@ | |||
1 | # | 1 | ### BEGIN INIT INFO |
2 | # hostname.sh Set hostname. | 2 | # Provides: hostname |
3 | # | 3 | # Required-Start: |
4 | # Version: @(#)hostname.sh 1.10 26-Feb-2001 miquels@cistron.nl | 4 | # Required-Stop: |
5 | # | 5 | # Default-Start: S |
6 | # Default-Stop: | ||
7 | # Short-Description: Set hostname based on /etc/hostname | ||
8 | ### END INIT INFO | ||
6 | 9 | ||
7 | if test -f /etc/hostname | 10 | if test -f /etc/hostname |
8 | then | 11 | then |
9 | hostname -F /etc/hostname | 12 | hostname -F /etc/hostname |
10 | fi | 13 | fi |
11 | |||
diff --git a/meta/packages/initscripts/initscripts-1.0/mountall.sh b/meta/packages/initscripts/initscripts-1.0/mountall.sh index 84227a5fe3..9d4f97b683 100755 --- a/meta/packages/initscripts/initscripts-1.0/mountall.sh +++ b/meta/packages/initscripts/initscripts-1.0/mountall.sh | |||
@@ -1,8 +1,13 @@ | |||
1 | # | 1 | ### BEGIN INIT INFO |
2 | # mountall.sh Mount all filesystems. | 2 | # Provides: mountall |
3 | # | 3 | # Required-Start: mountvirtfs |
4 | # Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl | 4 | # Required-Stop: |
5 | # | 5 | # Default-Start: S |
6 | # Default-Stop: | ||
7 | # Short-Description: Mount all filesystems. | ||
8 | # Description: | ||
9 | ### END INIT INFO | ||
10 | |||
6 | . /etc/default/rcS | 11 | . /etc/default/rcS |
7 | 12 | ||
8 | # | 13 | # |
diff --git a/meta/packages/initscripts/initscripts-1.0/mountnfs.sh b/meta/packages/initscripts/initscripts-1.0/mountnfs.sh index 84cb3651fc..46c58b16a8 100755 --- a/meta/packages/initscripts/initscripts-1.0/mountnfs.sh +++ b/meta/packages/initscripts/initscripts-1.0/mountnfs.sh | |||
@@ -1,14 +1,10 @@ | |||
1 | # | 1 | ### BEGIN INIT INFO |
2 | # mountnfs.sh Now that TCP/IP is configured, mount the NFS file | 2 | # Provides: mountnfs |
3 | # systems in /etc/fstab if needed. If possible, | 3 | # Required-Start: $local_fs $network $portmap |
4 | # start the portmapper before mounting (this is needed for | 4 | # Required-Stop: |
5 | # Linux 2.1.x and up). | 5 | # Default-Start: S |
6 | # | 6 | # Default-Stop: |
7 | # Also mounts SBM filesystems now, so the name of | 7 | ### END INIT INFO |
8 | # this script is getting increasingly inaccurate. | ||
9 | # | ||
10 | # Version: @(#)mountnfs.sh 2.83 05-Oct-2001 miquels@cistron.nl | ||
11 | # | ||
12 | 8 | ||
13 | . /etc/default/rcS | 9 | . /etc/default/rcS |
14 | 10 | ||
diff --git a/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh b/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh index 3bb3d94de6..8be0b10a6a 100755 --- a/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh +++ b/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh | |||
@@ -1,4 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | ### BEGIN INIT INFO | ||
3 | # Provides: volatile | ||
4 | # Required-Start: $local_fs | ||
5 | # Required-Stop: $local_fs | ||
6 | # Default-Start: S | ||
7 | # Default-Stop: | ||
8 | # Short-Description: Populate the volatile filesystem | ||
9 | ### END INIT INFO | ||
2 | 10 | ||
3 | . /etc/default/rcS | 11 | . /etc/default/rcS |
4 | 12 | ||
diff --git a/meta/packages/initscripts/initscripts-1.0/reboot b/meta/packages/initscripts/initscripts-1.0/reboot index 56278199be..4c55885aba 100755 --- a/meta/packages/initscripts/initscripts-1.0/reboot +++ b/meta/packages/initscripts/initscripts-1.0/reboot | |||
@@ -1,9 +1,13 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # | 2 | ### BEGIN INIT INFO |
3 | # reboot Execute the reboot command. | 3 | # Provides: reboot |
4 | # | 4 | # Required-Start: |
5 | # Version: @(#)reboot 2.75 22-Jun-1998 miquels@cistron.nl | 5 | # Required-Stop: |
6 | # | 6 | # Default-Start: |
7 | # Default-Stop: 6 | ||
8 | # Short-Description: Execute the reboot command. | ||
9 | # Description: | ||
10 | ### END INIT INFO | ||
7 | 11 | ||
8 | PATH=/sbin:/bin:/usr/sbin:/usr/bin | 12 | PATH=/sbin:/bin:/usr/sbin:/usr/bin |
9 | 13 | ||
diff --git a/meta/packages/initscripts/initscripts-1.0/rmnologin b/meta/packages/initscripts/initscripts-1.0/rmnologin index 444145a26a..417efc2456 100755 --- a/meta/packages/initscripts/initscripts-1.0/rmnologin +++ b/meta/packages/initscripts/initscripts-1.0/rmnologin | |||
@@ -1,10 +1,16 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # | 2 | ### BEGIN INIT INFO |
3 | # rmnologin This script removes the /etc/nologin file as the last | 3 | # Provides: rmnologin |
4 | # step in the boot process. | 4 | # Required-Start: $remote_fs $all |
5 | # | 5 | # Required-Stop: |
6 | # Version: @(#)rmnologin 1.00 22-Jun-1998 miquels@cistron.nl | 6 | # Default-Start: 2 3 4 5 |
7 | # | 7 | # Default-Stop: |
8 | # Short-Description: Remove /etc/nologin at boot | ||
9 | # Description: This script removes the /etc/nologin file as the | ||
10 | # last step in the boot process, if DELAYLOGIN=yes. | ||
11 | # If DELAYLOGIN=no, /etc/nologin was not created by | ||
12 | # bootmisc earlier in the boot process. | ||
13 | ### END INIT INFO | ||
8 | 14 | ||
9 | if test -f /etc/nologin.boot | 15 | if test -f /etc/nologin.boot |
10 | then | 16 | then |
diff --git a/meta/packages/initscripts/initscripts-1.0/sendsigs b/meta/packages/initscripts/initscripts-1.0/sendsigs index c62a5cd37d..2b0f8f3631 100755 --- a/meta/packages/initscripts/initscripts-1.0/sendsigs +++ b/meta/packages/initscripts/initscripts-1.0/sendsigs | |||
@@ -1,9 +1,13 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # | 2 | ### BEGIN INIT INFO |
3 | # sendsigs Kill all remaining processes. | 3 | # Provides: sendsigs |
4 | # | 4 | # Required-Start: |
5 | # Version: @(#)sendsigs 2.75 22-Jun-1998 miquels@cistron.nl | 5 | # Required-Stop: umountnfs |
6 | # | 6 | # Default-Start: |
7 | # Default-Stop: 0 6 | ||
8 | # Short-Description: Kill all remaining processes. | ||
9 | # Description: | ||
10 | ### END INIT INFO | ||
7 | 11 | ||
8 | PATH=/sbin:/bin:/usr/sbin:/usr/bin | 12 | PATH=/sbin:/bin:/usr/sbin:/usr/bin |
9 | 13 | ||
diff --git a/meta/packages/initscripts/initscripts-1.0/single b/meta/packages/initscripts/initscripts-1.0/single index 2d177ebb62..0cad693f20 100755 --- a/meta/packages/initscripts/initscripts-1.0/single +++ b/meta/packages/initscripts/initscripts-1.0/single | |||
@@ -1,9 +1,12 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # | 2 | ### BEGIN INIT INFO |
3 | # single executed by init(8) upon entering runlevel 1 (single). | 3 | # Provides: single |
4 | # | 4 | # Required-Start: $local_fs $all killprocs |
5 | # Version: @(#)single 1.20 26-Geb-2001 miquels@cistron.nl | 5 | # Required-Stop: |
6 | # | 6 | # Default-Start: 1 |
7 | # Default-Stop: | ||
8 | # Short-Description: executed by init(8) upon entering runlevel 1 (single). | ||
9 | ### END INIT INFO | ||
7 | 10 | ||
8 | PATH="/sbin:/bin:/usr/sbin:/usr/bin" | 11 | PATH="/sbin:/bin:/usr/sbin:/usr/bin" |
9 | 12 | ||
diff --git a/meta/packages/initscripts/initscripts-1.0/sysfs.sh b/meta/packages/initscripts/initscripts-1.0/sysfs.sh index f779a6e881..be28bb35bf 100644 --- a/meta/packages/initscripts/initscripts-1.0/sysfs.sh +++ b/meta/packages/initscripts/initscripts-1.0/sysfs.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | ### BEGIN INIT INFO | 2 | ### BEGIN INIT INFO |
3 | # Provides: sysfs | 3 | # Provides: mountvirtfs |
4 | # Required-Start: | 4 | # Required-Start: |
5 | # Required-Stop: | 5 | # Required-Stop: |
6 | # Default-Start: S | 6 | # Default-Start: S |
diff --git a/meta/packages/initscripts/initscripts-1.0/umountfs b/meta/packages/initscripts/initscripts-1.0/umountfs index ec75b0c4a4..5c6793dc9c 100755 --- a/meta/packages/initscripts/initscripts-1.0/umountfs +++ b/meta/packages/initscripts/initscripts-1.0/umountfs | |||
@@ -1,7 +1,13 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # | 2 | ### BEGIN INIT INFO |
3 | # umountfs Turn off swap and unmount all local filesystems. | 3 | # Provides: umountfs |
4 | # | 4 | # Required-Start: |
5 | # Required-Stop: | ||
6 | # Default-Start: | ||
7 | # Default-Stop: 0 6 | ||
8 | # Short-Description: Turn off swap and unmount all local file systems. | ||
9 | # Description: | ||
10 | ### END INIT INFO | ||
5 | 11 | ||
6 | PATH=/sbin:/bin:/usr/sbin:/usr/bin | 12 | PATH=/sbin:/bin:/usr/sbin:/usr/bin |
7 | 13 | ||
diff --git a/meta/packages/initscripts/initscripts-1.0/umountnfs.sh b/meta/packages/initscripts/initscripts-1.0/umountnfs.sh index f5fe48aa74..a4fb821d91 100755 --- a/meta/packages/initscripts/initscripts-1.0/umountnfs.sh +++ b/meta/packages/initscripts/initscripts-1.0/umountnfs.sh | |||
@@ -1,7 +1,12 @@ | |||
1 | #! /bin/sh | 1 | ### BEGIN INIT INFO |
2 | # | 2 | # Provides: umountnfs |
3 | # umountnfs.sh Unmount all network filesystems. | 3 | # Required-Start: |
4 | # | 4 | # Required-Stop: umountfs |
5 | # Should-Stop: $network $portmap | ||
6 | # Default-Start: | ||
7 | # Default-Stop: 0 6 | ||
8 | # Short-Description: Unmount all network filesystems | ||
9 | ### END INIT INFO | ||
5 | 10 | ||
6 | PATH=/sbin:/bin:/usr/sbin:/usr/bin | 11 | PATH=/sbin:/bin:/usr/sbin:/usr/bin |
7 | 12 | ||
@@ -25,4 +30,3 @@ done | |||
25 | ) < /etc/fstab | 30 | ) < /etc/fstab |
26 | 31 | ||
27 | : exit 0 | 32 | : exit 0 |
28 | |||
diff --git a/meta/packages/initscripts/initscripts-1.0/urandom b/meta/packages/initscripts/initscripts-1.0/urandom index 45c41d758b..b6d807cf3b 100755 --- a/meta/packages/initscripts/initscripts-1.0/urandom +++ b/meta/packages/initscripts/initscripts-1.0/urandom | |||
@@ -1,10 +1,15 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # | 2 | ### BEGIN INIT INFO |
3 | # urandom This script saves the random seed between reboots. | 3 | # Provides: urandom |
4 | # It is called from the boot, halt and reboot scripts. | 4 | # Required-Start: $local_fs mountvirtfs |
5 | # | 5 | # Required-Stop: $local_fs |
6 | # Version: @(#)urandom 1.33 22-Jun-1998 miquels@cistron.nl | 6 | # Default-Start: S |
7 | # | 7 | # Default-Stop: 0 6 |
8 | # Short-Description: Save and restore the random seed | ||
9 | # Description: Save the random seed on shutdown and restore it on boot, | ||
10 | # to ensure that the seed isn't predicable on startup | ||
11 | # (because the boot process is predictable) | ||
12 | ### END INIT INFO | ||
8 | 13 | ||
9 | test -c /dev/urandom || exit 0 | 14 | test -c /dev/urandom || exit 0 |
10 | . /etc/default/rcS | 15 | . /etc/default/rcS |
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb index 9e8c8aa9ca..abaecefc48 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 = "r111" | 7 | PR = "r113" |
8 | 8 | ||
9 | SRC_URI = "file://functions \ | 9 | SRC_URI = "file://functions \ |
10 | file://halt \ | 10 | file://halt \ |