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/random8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.d/init.d/random b/rc.d/init.d/random
index 2eb95f66..363ffdf2 100755
--- a/rc.d/init.d/random
+++ b/rc.d/init.d/random
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# random Script to snapshot random state and reload it at boot time.
#
@@ -41,9 +41,9 @@ case "$1" in
status)
# this is way overkill, but at least we have some status output...
if [ -c /dev/random ] ; then
- gprintf "The random data source exists\n"
+ echo $"The random data source exists"
else
- gprintf "The random data source is missing\n"
+ echo $"The random data source is missing"
fi
;;
restart|reload)
@@ -53,7 +53,7 @@ case "$1" in
*)
# do not advertise unreasonable commands that there is no reason
# to use with this device
- gprintf "Usage: %s {start|stop|status|restart|reload}\n" "random"
+ echo $"Usage: random {start|stop|status|restart|reload}"
exit 1
esac