Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 May 2015 09:32:59 -0700
From:      Motty Cruz <motty.cruz@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Motty Cruz <motty.cruz@gmail.com>
Subject:   help! devd.conf on FreeBSD 10.1
Message-ID:  <554CE53B.8060706@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,
I have rome the web to acomplish the following in FreeBSD 10.1 using 
devd.conf

this block of code is how it was done in FreeBSD 9.1
##### Check status of CARP interface
notify 0 {
         match "system"          "IFNET";
         match "type"            "LINK_UP";
         match "subsystem"       "carp*";
         action "/usr/local/scripts/startfssbee.pl mypassword";
};

I would like to do similar operation in FreeBSD 10.1

##### Check status of CARP interface ########
notify 0 {
                    match "system"          "CARP";
                    match "subsystem"       "[0-9]+@[0-9a-z]+";
                    match "type"            "(MASTER)";
                    action "/usr/local/scripts/startfsslarry.pl mypassword";
};

The script does run but it does not take mypassword as on argument.
Thanks,
Motty




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?554CE53B.8060706>