summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2013-02-21 15:41:09 +0000
committerpluknet <pluknet@FreeBSD.org>2013-02-21 15:41:09 +0000
commita47126727ba4a8d6c9e28c9e29d6ef6cae4b9587 (patch)
tree0591d2cb32320d8b2224d8c8a558e27254a47eb5 /share
parent0e93b8cbe63f40b8199f451dd9059aa862ebe342 (diff)
downloadFreeBSD-src-a47126727ba4a8d6c9e28c9e29d6ef6cae4b9587.zip
FreeBSD-src-a47126727ba4a8d6c9e28c9e29d6ef6cae4b9587.tar.gz
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
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/carp.44
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4
index d051377..84e87d6 100644
--- a/share/man/man4/carp.4
+++ b/share/man/man4/carp.4
@@ -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";
};
OpenPOWER on IntegriCloud