Date: Thu, 01 May 1997 21:40:22 +1000 From: David Nugent <davidn@labs.usn.blaze.net.au> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: hackers@freebsd.org Subject: Re: /usr/src/etc/Makefile install rule. Message-ID: <199705011140.VAA04588@labs.usn.blaze.net.au> In-Reply-To: Your message of "Wed, 30 Apr 1997 23:21:36 MST." <18731.862467696@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Would anyone have any objections if this suddenly went from > being a no-op to installing: > > rc > rc.firewall > rc.network > rc.serial > rc.pccard > etc.i386/rc.i386 > > Into /etc? No major objection, but did you resolve the "undefined variable" problem where something not configured in /etc/rc.conf (sysconfig) would cause problems? IIRC that's what motivated this move, and I honestly wouldn't like to see any automated install unless and until that was refined. > For rc.conf, we might also emit a little message at install time which > reminds those looking through the output to migrate their old rc.conf > by hand. rc.local is just a skeleton and should never need updating - > it's purely a user configuration choice. Yep, that's ok. Even better would be some coding in /etc/rc and friends which warned that a specific variable is not defined. And log it, if syslog happens to be running and partitions have been mounted. A simple shell function could be passed a variable name to do the test and logging. Regards, David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705011140.VAA04588>