From owner-freebsd-current Thu May 11 14:49:45 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA15431 for current-outgoing; Thu, 11 May 1995 14:49:45 -0700 Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id OAA15425 for ; Thu, 11 May 1995 14:49:39 -0700 Received: from gilberto.physik.rwth-aachen.de by campino.informatik.rwth-aachen.de (4.1/campino-7) id AA12541; Thu, 11 May 95 23:49:25 +0200 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id AAA17010; Fri, 12 May 1995 00:00:50 +0200 Message-Id: <199505112200.AAA17010@gilberto.physik.rwth-aachen.de> Subject: Re: bug in /usr/src/etc/rc (netstart) To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Fri, 12 May 1995 00:00:49 +0200 (MET DST) Cc: freebsd-current@freefall.cdrom.com (user alias) In-Reply-To: <199505112142.OAA13278@gndrsh.aac.dev.com> from "Rodney W. Grimes" at May 11, 95 02:42:34 pm From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1252 Sender: current-owner@FreeBSD.org Precedence: bulk > > Let's take this little example: > > > > let r be rc > > let s be sysconfig > > let n bet netstart > > > > -------- r --------- > > #!/bin/sh > > . s > > sh n > > -------- s --------- > > #!/bin/sh > > hostname=foo > > -------- n --------- > > #!/bin/sh - > > You missed: > . s > at line 8, the very first thing done. AARRGGH! I was using netstart 1.26 all the time. Mea culpa. Thousand excuses! > > > echo $hostname > > > > Now execute r and you will find the the echo in n is empty. > > > > A sixpack of beer that something is wrong with the current rc/sysconfig/net > > start combo. > > I don't drink, but look at line 8 of /etc/netstart: > . /etc/sysconfig > > > -- > > > Rod Grimes rgrimes@gndrsh.aac.dev.com > > > Accurate Automation Company Custom computers for FreeBSD > > > > > > > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > Sorry for the confusion. Shame on me. Red face ///// --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de FreeBSD blues.physik.rwth-aachen.de 2.0-BUILT-19950507 FreeBSD 2.0-BUILT-1995 0507 #0: Sun May 7 18:08:05 MET DST 1995 root@blues.physik.rwth-aachen.d e:/usr/src/sys/compile/BLUESGUS i386