In the EXAMPLES section: append the subsystem regular expression with a

typical interface name pattern as devd(8) uses full string match.

Discussed with:	avg, glebius
This commit is contained in:
pluknet 2013-02-21 15:41:09 +00:00
parent 0e93b8cbe6
commit a47126727b

View File

@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd December 25, 2012
.Dd February 21, 2013
.Dt CARP 4
.Os
.Sh NAME
@ -281,7 +281,7 @@ status change events can be set up by using the following devd.conf rule:
.Bd -literal -offset indent
notify 0 {
match "system" "CARP";
match "subsystem" "[0-9]+@";
match "subsystem" "[0-9]+@[0-9a-z]+";
match "type" "(MASTER|BACKUP)";
action "/root/carpcontrol.sh $subsystem $type";
};