CARP state and run this scrip

Ivan R. Sy Jr. isy at infoweapons.com
Mon Sep 19 02:45:11 PDT 2005


hi all.

i was playing with ports/net/ifstated and somehow its not working.
i would be needing a daemon. that monitors the state of CARP and execute 
a script if the carp's state would be master or slave.

example /usr/local/etc/ifstated.conf

state master {
	init {
	run "echo 'master'"
	}
}

state backup {
	init {
	run "echo 'slave'"
	}
}


is there any chance someone have done such daemon? thanks!




More information about the freebsd-pf mailing list