CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]       2016/04/26 10:59:15

Modified files:
        etc/rc.d       : rc.subr 

Log message:
Introduce rtable(4) support to rc.subr(8).
It works by adding daemon_rtable=$id in /etc/rc.conf.local.
rcctl(8) support coming in a few and so are the man pages bits.

If you want multiple instances of the same daemon running in different
routing tables, just symlink the original rc.d script.
e.g.
# cd /etc/rc.d && ln -s dhcpd dhcpd42

Then enable your daemons as such in rc.conf.local:
dhcpd_flags=
dhcpd42_flags=
dhcpd42_rtable=42

most work done by Jiri B <[email protected]>; with a few tweaks and simplifications
by yours truly
ok robert@

... should make henning happy ;-)

Reply via email to