aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/random
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-23 20:15:59 +0000
committerBill Nottingham <notting@redhat.com>2001-01-23 20:15:59 +0000
commit3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72 (patch)
tree0f0e78f3634deed3d2c36161430ecbdbd6b53bf2 /rc.d/init.d/random
parenta4a25465cd2844d72bf518188b813c009450f505 (diff)
downloadinitscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar
initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.gz
initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.bz2
initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.xz
initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.zip
tag action, runcmd, etc. lines as well
Diffstat (limited to 'rc.d/init.d/random')
-rwxr-xr-xrc.d/init.d/random4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/random b/rc.d/init.d/random
index 363ffdf2..d5c6370a 100755
--- a/rc.d/init.d/random
+++ b/rc.d/init.d/random
@@ -23,7 +23,7 @@ case "$1" in
else
touch $random_seed
fi
- action "Initializing random number generator: " /bin/true
+ action $"Initializing random number generator: " /bin/true
chmod 600 $random_seed
dd if=/dev/urandom of=$random_seed count=1 bs=512 2>/dev/null
touch /var/lock/subsys/random
@@ -34,7 +34,7 @@ case "$1" in
# Save 512 bytes, which is the size of the entropy pool
touch $random_seed
chmod 600 $random_seed
- action "Saving random seed: " dd if=/dev/urandom of=$random_seed count=1 bs=512 2>/dev/null
+ action $"Saving random seed: " dd if=/dev/urandom of=$random_seed count=1 bs=512 2>/dev/null
rm -f /var/lock/subsys/random
;;