Subject: Re: Determining carp interface state
To: None <john@johnrshannon.com>
From: Liam Foy <liamfoy@sepulcrum.org>
List: current-users
Date: 05/24/2007 19:10:05
On 24/05/07, John R. Shannon <john@johnrshannon.com> wrote:
> Is there an easy way for a script to tell whether a carp interface on
> the host executing it is a master or slave?
>
> --
> John R. Shannon
>

The only way I can think of is grep 'ifconfig carp#' for MASTER or
SLAVE.

-- 
Liam J. Foy
liamjfoy@netbsd.org