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:
parent
22e61bc2c1
commit
07b9a28adb
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user