aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/random
diff options
context:
space:
mode:
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