summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/hostname
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-06-23 04:46:54 +0000
committermtm <mtm@FreeBSD.org>2008-06-23 04:46:54 +0000
commita12ffbbd8b36c6672bd6c89e5a538d2678caa9aa (patch)
treebc1266247fd858c69b6e861ee154d01d8f866893 /etc/rc.d/hostname
parentab11d78bfd2622cce4e516f6384f6ac9d92cae9a (diff)
downloadFreeBSD-src-a12ffbbd8b36c6672bd6c89e5a538d2678caa9aa.zip
FreeBSD-src-a12ffbbd8b36c6672bd6c89e5a538d2678caa9aa.tar.gz
Move a lot of diagnostic output behind $rc_quiet in scripts that
implement their own start command.
Diffstat (limited to 'etc/rc.d/hostname')
-rw-r--r--etc/rc.d/hostname2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/hostname b/etc/rc.d/hostname
index 6d0f12e..52f4408 100644
--- a/etc/rc.d/hostname
+++ b/etc/rc.d/hostname
@@ -72,7 +72,7 @@ hostname_start()
# All right, it is safe to invoke hostname(1) now.
#
- echo "Setting hostname: ${hostname}."
+ [ -z "${rc_quiet}" ] && echo "Setting hostname: ${hostname}."
/bin/hostname "${hostname}"
}
OpenPOWER on IntegriCloud