Help need to write a shutdown rc script.

Mickaël Canévet canevet at embl.fr
Thu Feb 10 09:11:46 UTC 2011


Hi,

I'd like to stop the carp0 network interface at first while shutting
down or rebooting a server, so that my second node takes the VIP ASAP.
Right now my network interface carp0 is stopped late in the shutdown
process like the others network interfaces.

How is the cleaner way to stop it at first (even before stopping any
other service). I think I have to write a rc script an put it
in /usr/local/etc/rc.d, but I can't find any example of stop only rc
script, and I don't exactly know which dependencies I must use.

Thanks a lot for your help.

Mickaël
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20110210/12b39cd3/attachment.pgp


More information about the freebsd-rc mailing list