From owner-freebsd-hackers Sat Jul 12 21:12:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA04187 for hackers-outgoing; Sat, 12 Jul 1997 21:12:27 -0700 (PDT) Received: from kitsune.swcp.com (swcp.com [198.59.115.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA04181 for ; Sat, 12 Jul 1997 21:12:21 -0700 (PDT) Received: from lundin.abq.nm.us. (lundin.abq.nm.us [198.59.115.228]) by kitsune.swcp.com (8.8.5/1.2.3) with ESMTP id WAA06142; Sat, 12 Jul 1997 22:12:18 -0600 (MDT) Received: (from aflundi@localhost) by lundin.abq.nm.us. (8.8.5/8.8.5) id WAA04700; Sat, 12 Jul 1997 22:11:37 -0600 (MDT) Date: Sat, 12 Jul 1997 22:11:37 -0600 (MDT) From: Alan Lundin Message-Id: <199707130411.WAA04700@lundin.abq.nm.us.> In-Reply-To: Terry Lambert "Re: /etc/init.d/" (Jul 11, 3:01pm) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Terry Lambert Subject: Re: /etc/init.d/ Cc: freebsd-hackers@freebsd.org Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Jul 11, 3:01pm, Terry Lambert wrote: > Subject: Re: /etc/init.d/ > > > I guess I don't see what the problem with the > > current system is. Currently you can have one > > script (assuming you have NFS mounting it amoung > > N machines) that says: > > > > case `hostname` in > > $SERVER) > > ;; > > esac > > > > where if it is moved to /etc/rc.d, then you must > > maintain N scripts, AND you stand more of a chance > > that those scripts will get clobbered on the next > > OS upgrade. > > What if I *want* to clobber the scripts for upgraded facilities > when I upgrade the facility? That's why you put the above code in /usr/local/etc/rc.d/httpd.sh (I guess I didn't say that did I?) > What if I want to upgrade some facilities, but not others? I > guess you'd have me editing up my rc file so that I couldn't > upgrade without editing it again (big hassle). No, my mistake for not stating that the code would go into /usr/local/etc/rc.d/***.sh rather than /etc/rc.*. --alan