From owner-freebsd-hackers Wed Aug 23 07:26:37 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id HAA05154 for hackers-outgoing; Wed, 23 Aug 1995 07:26:37 -0700 Received: from healer.com (healer-gw.Empire.Net [205.164.80.204]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id HAA05143 for ; Wed, 23 Aug 1995 07:26:28 -0700 Received: (from gryphon@localhost) by healer.com (8.6.11/8.6.6) id KAA02109 for hackers@freebsd.org; Wed, 23 Aug 1995 10:27:21 -0400 Date: Wed, 23 Aug 1995 10:27:21 -0400 From: Coranth Gryphon Message-Id: <199508231427.KAA02109@healer.com> To: hackers@freebsd.org Subject: Re: changes to rc files Sender: hackers-owner@freebsd.org Precedence: bulk > swap the sysconfig file around to change the identity of the system > based on where I am. While were on the subject of reorganizing /etc , what do people think of changin the names of all the startup files so that they start with "rc". Something like: rc rc.daemon rc.i386 rc.local rc.netstart rc.ppp rc.serial rc.sysconfig The great benefit this gives is that I can just "grep foo rc*" to search for something related to startup... Also, in reorganizing /etc, I made an "/etc/inet" directory, where I put all networking specific information. Thus: All the /etc/rc files use these for the "set foo = `cat /etc/inet/fooish` " domain, fullname, def_route, ipaddr.ed0, sysname These have symbolic links in /etc for the things that look there: named.boot, resolv.conf, hosts, networks, screend.conf Everything else is told to find their files there: root.cache, hosts.namedb, rev.namedb, local.namedb, smb.conf This is really helpful since when I change to a different network, all I have to do is edit (or swap out for multiple configs) the files in this one directory (and maybe /etc/ppp) and I'm all set. Really crucial when you are cranking out FreeBSD network servers, so everything is in one place. -coranth ------------------------------------------+------------------------+ Coranth Gryphon | "Faith Manages." | | - Satai Delenn | Phone: 603-598-3440 Fax: 603-598-3430 +------------------------+ USMail: 11 Carver St, Nashua, NH 03060 Disclaimer: All these words are yours, except Europa...