From a4a25465cd2844d72bf518188b813c009450f505 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 23 Jan 2001 19:59:11 +0000 Subject: change i18n stuff around; don't call gettext explicitly, just do echo $"some string" --- rc.d/init.d/random | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rc.d/init.d/random') 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 -- cgit v1.2.1