4 # Required-Start: $local_fs
5 # Required-Stop: $local_fs
8 # Short-Description: Save and restore random seed between restarts.
9 # Description This script saves the random seed between restarts.
10 # It is called from the boot, halt and reboot scripts.
13 [ -c /dev
/urandom
] ||
exit 0
15 PATH
=/sbin
:/usr
/sbin
:/bin
:/usr
/bin
19 .
/lib
/lsb
/init-functions
21 # Modified version for OpenVZ containers
25 # nothing to do inside container
28 # nothing to do inside container
30 restart|reload|force-reload
)
31 echo "Error: argument '$1' not supported" >&2
35 echo "Usage: urandom start|stop" >&2