Date: Sun, 4 May 1997 12:15:08 GMT From: "Kenneth R. Westerback" <krw@tcn.net> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: conf/3493: rc.network prints 'hostname' rather than `hostname` Message-ID: <199705041215.MAA00319@Pkrw.tcn.net> Resent-Message-ID: <199705041520.IAA29164@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3493 >Category: conf >Synopsis: rc.network prints 'hostname' rather than `hostname` >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 4 08:20:01 PDT 1997 >Last-Modified: >Originator: Kenneth R. Westerback >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: FreeBSD 2.2-STABLE make world'ed through src-2.2.0263, using new rc.conf/rc.network setup >Description: The first thing rc.network does is print the message 'Doing initial network setup: hostname' when what I think it should be printing (assuming as in my case your machine's hostname is Pkrw) 'Doing initial network setup: Pkrw' >How-To-Repeat: Boot, watch initialization messages. >Fix: --- /usr/src/etc/rc.network Sat May 3 00:02:50 1997 +++ /etc/rc.network Sun May 4 12:02:20 1997 @@ -11,12 +11,12 @@ # First pass startup stuff. network_pass1() { - echo -n 'Doing initial network setup:' + echo -n 'Doing initial network setup: ' # Set the host name if it is not already set if [ -z "`hostname -s`" ] ; then hostname $hostname - echo -n ' hostname' fi + echo -n `hostname -s` # Set the domainname if we're using NIS if [ -n "$nisdomainname" -a "x$nisdomainname" != "xNO" ] ; then >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705041215.MAA00319>