aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/random
diff options
context:
space:
mode:
authorDonnie Barnes <djb@redhat.com>1997-10-23 19:37:48 +0000
committerDonnie Barnes <djb@redhat.com>1997-10-23 19:37:48 +0000
commitf4cc66886a0a1043a786e62c30d7ef2d40c50e03 (patch)
treebacf7e343e469639391eb818bb85589a91ebaa88 /rc.d/init.d/random
parent34d0b15663a995dff1ba2ebfa742afbac36fc1f2 (diff)
downloadinitscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.gz
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.bz2
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.xz
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.zip
added status|restart to all scripts
Diffstat (limited to 'rc.d/init.d/random')
-rwxr-xr-xrc.d/init.d/random9
1 files changed, 8 insertions, 1 deletions
diff --git a/rc.d/init.d/random b/rc.d/init.d/random
index 55c29856..686c80cc 100755
--- a/rc.d/init.d/random
+++ b/rc.d/init.d/random
@@ -36,8 +36,15 @@ case "$1" in
rm -f /var/lock/subsys/random
;;
+ status)
+ status random
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
*)
- echo "Usage: random {start|stop}"
+ echo "Usage: random {start|stop|restart|status}"
exit 1
esac