Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2000 13:11:55 -0700
From:      jay.krell@cornell.edu
To:        "Bill Schoolcraft" <bill@wiliweld.com>, "Matthew Emmerton" <matt@gsicomp.on.ca>, <questions@FreeBSD.ORG>
Subject:   Re: FreeBSD 3.x->4.1, my experience, Samba, dhcpd, ppp, nat, dns,named
Message-ID:  <001401c036e4$2daf4b00$8001a8c0@jayk3>

next in thread | raw e-mail | index | archive | help
> /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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401c036e4$2daf4b00$8001a8c0>