aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/random
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
committerBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
commita4a25465cd2844d72bf518188b813c009450f505 (patch)
tree25ca5df7db282aa4202813aba3c0e18083927c25 /rc.d/init.d/random
parentbee84f538da8b1d5885975c119bfd7fd5ae7e9a3 (diff)
downloadinitscripts-a4a25465cd2844d72bf518188b813c009450f505.tar
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.gz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.bz2
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.xz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.zip
change i18n stuff around; don't call gettext explicitly, just do echo $"some string"
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