Date: Thu, 3 May 2001 17:17:17 -0500 (CDT) From: Nick Rogness <nick@rogness.net> To: freebsd-hackers@freebsd.org Subject: /etc/rc.network and natd_enable Message-ID: <Pine.BSF.4.21.0105031700370.14970-100000@cody.jharris.com>
next in thread | raw e-mail | index | archive | help
In 4.2-STABLE, /etc/rc.network has entries to turn on natd. However, natd does not get enabled if you don't specify natd_interface. WHat if you you have setup stored in a configuration file and do not wish to supply an interface flag in /etc/rc.conf? Well, natd does not turn on! Would it make more sense to do something like (psuedo-ish code): if (natd_enable = YES) if (natd_interface defined) natd -n $natd_interface $natd_flags elif (natd_flags defined) natd $natd_flags fi fi It would allow for people to not specify a natd_interface but still be able to run natd out of rc.conf. What does everyone think of this? I guess you pay the penalty if someone doesn't setup the flags properly but I guess you could write that off as a config error anyways. Nick Rogness <nick@rogness.net> - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105031700370.14970-100000>
