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/random6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/init.d/random b/rc.d/init.d/random
index 81c7a780..2eb95f66 100755
--- a/rc.d/init.d/random
+++ b/rc.d/init.d/random
@@ -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
- echo "The random data source exists"
+ gprintf "The random data source exists\n"
else
- echo "The random data source is missing"
+ gprintf "The random data source is missing\n"
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
- echo "Usage: random {start|stop|status|restart|reload}"
+ gprintf "Usage: %s {start|stop|status|restart|reload}\n" "random"
exit 1
esac