On 6/23/05, Reid Linnemann <[EMAIL PROTECTED]> wrote: > > I'm using netgraph to bridge a few interfaces on a -CURRENT system. > I've used the example bridge script > /usr/share/examples/netgraph/ether.bridge, and it works perfectly after > setting the interface vars. > > However, there are no rc.d hooks (that I am aware of) that will kick off > netgraph scripts on system boot, forcing me to manually run the netgraph > script at each reboot. I'm sure I could hack the script to give it > rcorder keywords and handlers for rcng arguments, but that seems to be > an overworked solution. I'm curious, how have other netgraph users have > solved this problem?
Why don't you start your script from /etc/rc.local. I use rc.local to start many scripts for custom commands/daemons I need to be ready once the system (re)starts. # ee /etc/rc.local <path to script>/foo.sh -- Kind regards Abu Khaled _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
