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/initscripts-1.0/urandom | |
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/initscripts-1.0/urandom')
-rwxr-xr-x | meta/packages/initscripts/initscripts-1.0/urandom | 17 |
1 files changed, 11 insertions, 6 deletions
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 |