summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-02-15 06:46:33 +0000
committeryar <yar@FreeBSD.org>2007-02-15 06:46:33 +0000
commit6170b53b30304692f368a25a0c7c93db01644ad1 (patch)
tree22e91113ee5f31453aeb58dace884cf78bacad9c
parent47a000e992cdc164b75e7b82e06041adfbf7a39f (diff)
downloadFreeBSD-src-6170b53b30304692f368a25a0c7c93db01644ad1.zip
FreeBSD-src-6170b53b30304692f368a25a0c7c93db01644ad1.tar.gz
Don't be paranoid about hostname(1) and order the things logically.
Pointed out by: ceri
-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 f5fb643..913717f 100644
--- a/etc/rc.d/hostname
+++ b/etc/rc.d/hostname
@@ -72,8 +72,8 @@ hostname_start()
# All right, it is safe to invoke hostname(1) now.
#
+ echo "Setting hostname: ${hostname}."
/bin/hostname "${hostname}"
- echo "Setting hostname: `hostname`."
}
load_rc_config $name
OpenPOWER on IntegriCloud