On Tue, 2016-12-06 at 13:07 -0600, Eric van Gyzen wrote: > On 12/06/2016 11:30, Ravi Pokala wrote: > > > > For grins, I ran this on my build server. The resulting graph is... > > complex. But one thing was immediately clear: neither > > /etc/rc.d/dhclient and /etc/rc.d/natd depend on anything. That > > seems > > wrong: I would expect them to have some sort of dependency on > > NETWORKING, either BEFORE (since dhclient may be involved in > > bringing > > up the network) or REQUIRE (since it doesn’t make sense to run a > > networking daemon like natd before networking is up). > I saw that, too. I'm pretty sure they're not called directly, but > are > called from other scripts, such as network.subr and ipfw, > respectively. > They certainly /look/ like they can be called directly. Maybe that's > leftover from an older style of configuration? I defer to the rc > experts. > > Eric >
The clue for that is the "nostart" keyword -- scripts flagged with that won't be run automatically because /etc/rc does 'rcorder -s nostart', but they can be run by other scripts or from devd. -- Ian _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"