aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/random
diff options
context:
space:
mode:
authorDonnie Barnes <djb@redhat.com>1998-04-30 21:50:48 +0000
committerDonnie Barnes <djb@redhat.com>1998-04-30 21:50:48 +0000
commit1fd9ce20a5be3a791820e34246ccf84fd0987113 (patch)
tree4bcaacecd4d3bb36325053181e10c677985b11bd /rc.d/init.d/random
parentdb35a4b1d9c0bb2393a0280e0bcb9a026b4514ed (diff)
downloadinitscripts-1fd9ce20a5be3a791820e34246ccf84fd0987113.tar
initscripts-1fd9ce20a5be3a791820e34246ccf84fd0987113.tar.gz
initscripts-1fd9ce20a5be3a791820e34246ccf84fd0987113.tar.bz2
initscripts-1fd9ce20a5be3a791820e34246ccf84fd0987113.tar.xz
initscripts-1fd9ce20a5be3a791820e34246ccf84fd0987113.zip
various cleanups
Diffstat (limited to 'rc.d/init.d/random')
-rwxr-xr-xrc.d/init.d/random5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.d/init.d/random b/rc.d/init.d/random
index 04de99d1..55775f1a 100755
--- a/rc.d/init.d/random
+++ b/rc.d/init.d/random
@@ -8,6 +8,9 @@
# description: Saves and restores system entropy pool for higher quality \
# random number generation.
+# Source function library.
+. /etc/rc.d/init.d/functions
+
random_seed=/var/run/random-seed
# See how we were called.
@@ -51,7 +54,7 @@ case "$1" in
*)
# do not advertise unreasonable commands that there is no reason
# to use with this device
- echo "Usage: random {start|stop}"
+ echo "Usage: random {start|stop|status|restart|reload}"
exit 1
esac