mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
initscripts: add dependency headers
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4801 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user