On 21 February 2013 19:41, Sergey Kandaurov <pluk...@freebsd.org> wrote: > Author: pluknet > Date: Thu Feb 21 15:41:09 2013 > New Revision: 247102 > URL: http://svnweb.freebsd.org/changeset/base/247102 > > Log: > 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 > > Modified: > head/share/man/man4/carp.4 > > Modified: head/share/man/man4/carp.4 > ============================================================================== > --- head/share/man/man4/carp.4 Thu Feb 21 15:35:48 2013 (r247101) > +++ head/share/man/man4/carp.4 Thu Feb 21 15:41:09 2013 (r247102) > @@ -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 us > .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"; > };
"Typical" means that it could be renamed to something else with ifconfig name. -- wbr, pluknet _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"