From owner-freebsd-bugs Sun May 4 08:20:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA29174 for bugs-outgoing; Sun, 4 May 1997 08:20:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA29164; Sun, 4 May 1997 08:20:01 -0700 (PDT) Resent-Date: Sun, 4 May 1997 08:20:01 -0700 (PDT) Resent-Message-Id: <199705041520.IAA29164@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, krw@tcn.net Received: from Pkrw.tcn.net (Pkrw.tcn.net [199.166.4.58]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA28808 for ; Sun, 4 May 1997 08:11:40 -0700 (PDT) Received: (from krw@localhost) by Pkrw.tcn.net (8.8.5/8.8.5) id MAA00319; Sun, 4 May 1997 12:15:08 GMT Message-Id: <199705041215.MAA00319@Pkrw.tcn.net> Date: Sun, 4 May 1997 12:15:08 GMT From: "Kenneth R. Westerback" Reply-To: krw@tcn.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: conf/3493: rc.network prints 'hostname' rather than `hostname` Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: