From owner-freebsd-questions Mon Apr 13 15:17:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02450 for freebsd-questions-outgoing; Mon, 13 Apr 1998 15:17:39 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02348 for ; Mon, 13 Apr 1998 22:17:22 GMT (envelope-from dhw@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id PAA06594 for ; Mon, 13 Apr 1998 15:16:44 -0700 (PDT) Received: from pau-amma.whistle.com(207.76.205.64) by whistle.com via smap (V1.3) id sma006592; Mon Apr 13 15:16:28 1998 Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.7/8.8.7) id PAA01636 for freebsd-questions@freebsd.org; Mon, 13 Apr 1998 15:16:28 -0700 (PDT) (envelope-from dhw) Date: Mon, 13 Apr 1998 15:16:28 -0700 (PDT) From: David Wolfskill Message-Id: <199804132216.PAA01636@pau-amma.whistle.com> To: freebsd-questions@FreeBSD.ORG Subject: /etc/rc.local vs. /usr/local/etc/rc.d vs. ??? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Maybe I need to rent a clue.... I just replaced our main NFS server with one ruuning FreeBSD 2.2.6-RELEASE. (Old machine had been running 2.1.0-RELEASE.) This particular machine was also running a couple of other things -- a Web server & a samba server. Now, we use /usr/local for site-specific (vs. machine-specific) things. This machine exports a filesystem that most machines import as /usr/local. We also would like to use programs &c. that are on this filesystem from this machine's /usr/local; therefore, that filesystem also appears on this machine as /usr/local. However, if I put the initialization stuff for the machine-specific servers in /usr/local/etc/rc.d, every machine on the net sees that, and tries to start them up at boot time. This really is not what I'd prefer to do. So, for now, I've gone back to the (deprecated) /etc/rc.local for this purpose. Suggestions for ways to do this that are likely to work while keeping some reasonable semblance of conformity to rational expectations of How Things Ought To Be Done would be most welcome. Thanks, david -- David Wolfskill dhw@whistle.com (650) 577-7158 pager: (650) 401-0168 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message