From owner-freebsd-stable Mon Mar 16 11:26:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25985 for freebsd-stable-outgoing; Mon, 16 Mar 1998 10:10:04 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25760 for ; Mon, 16 Mar 1998 10:09:31 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id PAA06324; Mon, 16 Mar 1998 15:08:59 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199803161808.PAA06324@gaia.coppe.ufrj.br> Subject: Re: proposed minimum change to rc.conf In-Reply-To: <199803161453.PAA20197@labinfo.iet.unipi.it> from Luigi Rizzo at "Mar 16, 98 03:53:46 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Mon, 16 Mar 1998 15:08:59 -0300 (EST) Cc: stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk #define quoting(Luigi Rizzo) // Opinions ? And in case, could this go into -current or -stable ? // // cheers // luigi // // info# diff -ubwr rc.conf rc.conf.diskless // --- rc.conf.orig Thu Mar 12 13:34:45 1998 // +++ rc.conf Mon Mar 16 12:28:10 1998 // @@ -25,7 +25,10 @@ // ############################################################## // // ### Basic network options: ### // +if [ "`hostname`" = "" ] // +then // hostname="myname.mydomain" # Set this! // +fi IMHO rc.conf should have no commands, only settings. I'd prefer if these changes were in other file. To avoid problems, you could create a new variable in rc.conf: diskless=YES and let it control behaviour elsewhere. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message