I dabble in FreeBSD from time to time (mainly special purpose "set it and forget it" scenarios) so I'm not very savvy when it comes to the ins and outs of the ins and outs.
I'm setting up a couple servers that use FIBs to route different subnets to different jails and all the online how-to information I've seen use rc.local to script the FIB default routes at startup.
BUT I thought rc.local was out of fashion these days and its use discouraged vs. making scripts in rc.d or using rc.conf?
I know I can get it done by making a rc.local script but I want to use the generally accepted way in my installations to cut down confusion later on. Can anyone shed any light? Thanks!
I'm setting up a couple servers that use FIBs to route different subnets to different jails and all the online how-to information I've seen use rc.local to script the FIB default routes at startup.
BUT I thought rc.local was out of fashion these days and its use discouraged vs. making scripts in rc.d or using rc.conf?
I know I can get it done by making a rc.local script but I want to use the generally accepted way in my installations to cut down confusion later on. Can anyone shed any light? Thanks!