From 1e8ecc617bb05e72dce649d99982f0fbe0ad64e1 Mon Sep 17 00:00:00 2001 From: dougb Date: Sun, 17 Dec 2000 08:16:06 +0000 Subject: Apply a more consistent style to the echo statements in /etc/ scripts. * Put quotes around each line * Single quotes for lines with no variable interpolation * Double quotes if there is * Capitalize each word that begins a line * Make echo -n 'Doing foo:' ... echo '.' more of a standard No functionality changes --- etc/rc.shutdown | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'etc/rc.shutdown') diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 6719414..0f77f47 100644 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -58,7 +58,7 @@ case ${entropy_file} in [Nn][Oo] | '') ;; *) - echo "Writing entropy file." + echo -n 'Writing entropy file:' rm -f ${entropy_file} oumask=`umask` umask 077 @@ -74,11 +74,12 @@ case ${entropy_file} in fi case ${entropy_file_confirmed} in '') - echo "ERROR: entropy file write failed" + echo ' ERROR - entropy file write failed' ;; *) dd if=/dev/random of=${entropy_file_confirmed} \ bs=4096 count=1 2> /dev/null + echo '.' ;; esac umask ${oumask} @@ -94,7 +95,7 @@ reboot) ;; esac -echo -n "Shutting down daemon processes:" +echo -n 'Shutting down daemon processes:' # for each valid dir in $local_startup, search for init scripts matching *.sh case ${local_startup} in @@ -112,7 +113,7 @@ case ${local_startup} in done fi done - echo . + echo '.' ;; esac -- cgit v1.1