From owner-freebsd-questions Sun Oct 15 13:13:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id 0671B37B66C for ; Sun, 15 Oct 2000 13:13:39 -0700 (PDT) Received: from jayk3 (user-2ini9c9.dialup.mindspring.com [165.121.37.137]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with SMTP id QAA12958; Sun, 15 Oct 2000 16:13:25 -0400 (EDT) From: jay.krell@cornell.edu Message-ID: <001401c036e4$2daf4b00$8001a8c0@jayk3> Reply-To: To: "Bill Schoolcraft" , "Matthew Emmerton" , Subject: Re: FreeBSD 3.x->4.1, my experience, Samba, dhcpd, ppp, nat, dns,named Date: Sun, 15 Oct 2000 13:11:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > /usr/rc.local vs. /usr/local/etc/rc.d/dhcpd.sh You cannot do what was suggested/I said, moving my dhcpd stuff from /etc/rc.local (leaving it empty/nonexistant) to /usr/local/etc/rc.d/dhcpd.sh, because /usr/local/etc/rc.d/*.sh are run after /etc/rc.conf but with its assignments not available. I debug this stuff by putting in echo commands and rebooting. So, what I did is moved it to the bottom of /etc/rc.conf. This is somewhat contrary to the "design" of rc.conf, since it now contains more than just assignments. The other best option would probably be to hardcode /usr/local/etc/rc.d/dhcpd.sh. I tend to favor moving more settings into fewer files though, it makes it easier to backup and deploy. - Jay To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message