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 | |
parent | 2a7b3ad49137da3e3c4206df9b1fdb94652ae908 (diff) | |
download | openembedded-core-bde70a9f31b1c266764724db329c8077f6734884.tar.gz openembedded-core-bde70a9f31b1c266764724db329c8077f6734884.tar.bz2 openembedded-core-bde70a9f31b1c266764724db329c8077f6734884.zip |
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')
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 @@ #!/bin/sh +### BEGIN INIT INFO +# Provides: alignment +# Required-Start: mountkernfs +# Required-Stop: mountkernfs +# Default-Start: S +# Default-Stop: +### END INIT INFO if [ -e /proc/cpu/alignment ]; then 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 @@ #!/bin/sh +### BEGIN INIT INFO +# Provides: banner +# Required-Start: +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO if [ ! -e /dev/tty ]; then /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 @@ -# -# bootmisc.sh Miscellaneous things to be done during bootup. -# +### BEGIN INIT INFO +# Provides: bootmisc +# Required-Start: $local_fs mountvirtfs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 6 +# Short-Description: Misc and other. +### END INIT INFO . /etc/default/rcS # 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 @@ -# -# checkfs.sh Check all filesystems. -# -# Version: @(#)checkfs 2.83 05-Oct-2001 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: checkfs +# Required-Start: checkroot +# Required-Stop: +# Default-Start: S +# Default-Stop: +# Short-Description: Check all other file systems +### END INIT INFO . /etc/default/rcS 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 @@ ### BEGIN INIT INFO # Provides: checkroot -# Required-Start: udev sysfs +# Required-Start: udev # Required-Stop: # Default-Start: S # 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 @@ if ! test -e /etc/.configured; then > /etc/.configured fi - 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 @@ #! /bin/sh -# -# halt Execute the halt command. -# -# Version: @(#)halt 2.84-2 07-Jan-2002 miquels@cistron.nl -# +### +# BEGIN INIT INFO +# Provides: halt +# Required-Start: +# Required-Stop: +# Default-Start: +# Default-Stop: 0 +# Short-Description: Execute the halt command. +# Description: +### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin 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 @@ -# -# hostname.sh Set hostname. -# -# Version: @(#)hostname.sh 1.10 26-Feb-2001 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: hostname +# Required-Start: +# Required-Stop: +# Default-Start: S +# Default-Stop: +# Short-Description: Set hostname based on /etc/hostname +### END INIT INFO if test -f /etc/hostname then hostname -F /etc/hostname fi - 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 @@ -# -# mountall.sh Mount all filesystems. -# -# Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: mountall +# Required-Start: mountvirtfs +# Required-Stop: +# Default-Start: S +# Default-Stop: +# Short-Description: Mount all filesystems. +# Description: +### END INIT INFO + . /etc/default/rcS # 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 @@ -# -# mountnfs.sh Now that TCP/IP is configured, mount the NFS file -# systems in /etc/fstab if needed. If possible, -# start the portmapper before mounting (this is needed for -# Linux 2.1.x and up). -# -# Also mounts SBM filesystems now, so the name of -# this script is getting increasingly inaccurate. -# -# Version: @(#)mountnfs.sh 2.83 05-Oct-2001 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: mountnfs +# Required-Start: $local_fs $network $portmap +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO . /etc/default/rcS 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 @@ #!/bin/sh +### BEGIN INIT INFO +# Provides: volatile +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: +# Short-Description: Populate the volatile filesystem +### END INIT INFO . /etc/default/rcS 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 @@ #! /bin/sh -# -# reboot Execute the reboot command. -# -# Version: @(#)reboot 2.75 22-Jun-1998 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: reboot +# Required-Start: +# Required-Stop: +# Default-Start: +# Default-Stop: 6 +# Short-Description: Execute the reboot command. +# Description: +### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin 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 @@ #! /bin/sh -# -# rmnologin This script removes the /etc/nologin file as the last -# step in the boot process. -# -# Version: @(#)rmnologin 1.00 22-Jun-1998 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: rmnologin +# Required-Start: $remote_fs $all +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: +# Short-Description: Remove /etc/nologin at boot +# Description: This script removes the /etc/nologin file as the +# last step in the boot process, if DELAYLOGIN=yes. +# If DELAYLOGIN=no, /etc/nologin was not created by +# bootmisc earlier in the boot process. +### END INIT INFO if test -f /etc/nologin.boot 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 @@ #! /bin/sh -# -# sendsigs Kill all remaining processes. -# -# Version: @(#)sendsigs 2.75 22-Jun-1998 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: sendsigs +# Required-Start: +# Required-Stop: umountnfs +# Default-Start: +# Default-Stop: 0 6 +# Short-Description: Kill all remaining processes. +# Description: +### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin 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 @@ #! /bin/sh -# -# single executed by init(8) upon entering runlevel 1 (single). -# -# Version: @(#)single 1.20 26-Geb-2001 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: single +# Required-Start: $local_fs $all killprocs +# Required-Stop: +# Default-Start: 1 +# Default-Stop: +# Short-Description: executed by init(8) upon entering runlevel 1 (single). +### END INIT INFO PATH="/sbin:/bin:/usr/sbin:/usr/bin" 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 @@ #!/bin/sh ### BEGIN INIT INFO -# Provides: sysfs +# Provides: mountvirtfs # Required-Start: # Required-Stop: # 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 @@ #! /bin/sh -# -# umountfs Turn off swap and unmount all local filesystems. -# +### BEGIN INIT INFO +# Provides: umountfs +# Required-Start: +# Required-Stop: +# Default-Start: +# Default-Stop: 0 6 +# Short-Description: Turn off swap and unmount all local file systems. +# Description: +### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin 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 @@ -#! /bin/sh -# -# umountnfs.sh Unmount all network filesystems. -# +### BEGIN INIT INFO +# Provides: umountnfs +# Required-Start: +# Required-Stop: umountfs +# Should-Stop: $network $portmap +# Default-Start: +# Default-Stop: 0 6 +# Short-Description: Unmount all network filesystems +### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -25,4 +30,3 @@ done ) < /etc/fstab : exit 0 - 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 @@ #! /bin/sh -# -# urandom This script saves the random seed between reboots. -# It is called from the boot, halt and reboot scripts. -# -# Version: @(#)urandom 1.33 22-Jun-1998 miquels@cistron.nl -# +### BEGIN INIT INFO +# Provides: urandom +# Required-Start: $local_fs mountvirtfs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 6 +# Short-Description: Save and restore the random seed +# Description: Save the random seed on shutdown and restore it on boot, +# to ensure that the seed isn't predicable on startup +# (because the boot process is predictable) +### END INIT INFO test -c /dev/urandom || exit 0 . /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" DEPENDS = "makedevs" RDEPENDS = "makedevs" LICENSE = "GPL" -PR = "r111" +PR = "r113" SRC_URI = "file://functions \ file://halt \ |