diff options
author | Ermal <eri@pfsense.org> | 2013-12-02 21:12:31 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-12-02 21:12:31 +0000 |
commit | 77411fa70dcdd0bd7831b8f6d87187e8563200ef (patch) | |
tree | 58ad62bef6d6ca628bdd8dd52b3b64311871929c /etc/devd.conf | |
parent | aa87cf1108532f083761a5d2da4ff518cc398356 (diff) | |
download | pfsense-77411fa70dcdd0bd7831b8f6d87187e8563200ef.zip pfsense-77411fa70dcdd0bd7831b8f6d87187e8563200ef.tar.gz |
Correct CARP events on devd and the argument processing on called scripts
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index 30f3cc5..c84b774 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -14,16 +14,14 @@ options { # CARP notify hooks. This will call carpup/carpdown with the # interface (carp0, carp1) as the first parameter. notify 100 { - match "system" "IFNET"; - match "type" "LINK_UP"; - match "subsystem" "[a-zA-Z0-9_]+_vip[0-9]+"; + match "system" "CARP"; + match "type" "MASTER"; action "/etc/rc.carpmaster $subsystem"; }; notify 100 { - match "system" "IFNET"; - match "type" "LINK_DOWN"; - match "subsystem" "[a-zA-Z0-9_]+_vip[0-9]+"; + match "system" "CARP"; + match "type" "BACKUP"; action "/etc/rc.carpbackup $subsystem"; }; |