diff options
author | dougb <dougb@FreeBSD.org> | 2000-12-17 08:16:06 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2000-12-17 08:16:06 +0000 |
commit | 1e8ecc617bb05e72dce649d99982f0fbe0ad64e1 (patch) | |
tree | 8bb5bbce19114a1cdb5dd43110cd1aab487c45d7 /etc/rc.shutdown | |
parent | d8586c3f20a1e9e2925a2cdb240369fa29d0630e (diff) | |
download | FreeBSD-src-1e8ecc617bb05e72dce649d99982f0fbe0ad64e1.zip FreeBSD-src-1e8ecc617bb05e72dce649d99982f0fbe0ad64e1.tar.gz |
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
Diffstat (limited to 'etc/rc.shutdown')
-rw-r--r-- | etc/rc.shutdown | 9 |
1 files changed, 5 insertions, 4 deletions
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 |