diff options
author | jim-p <jimp@pfsense.org> | 2015-06-05 11:55:09 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-06-05 11:55:09 -0400 |
commit | b4aac247ac2d1b1647bc5e71d3668c0e6bf8a3ab (patch) | |
tree | e9a46191576342f28c5bc972b886edb66df4937d /etc | |
parent | 1557716b7c0d76a435e1604174249d814c6b5a26 (diff) | |
download | pfsense-b4aac247ac2d1b1647bc5e71d3668c0e6bf8a3ab.zip pfsense-b4aac247ac2d1b1647bc5e71d3668c0e6bf8a3ab.tar.gz |
Add INIT event for CARP as an alternate for 'backup', otherwise scripts would not take down services during a MASTER->INIT transition.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/devd.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index c0a2b2a..ea67ba6 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -25,6 +25,12 @@ notify 100 { action "/usr/local/sbin/pfSctl -c 'interface carpbackup $subsystem'"; }; +notify 100 { + match "system" "CARP"; + match "type" "INIT"; + action "/usr/local/sbin/pfSctl -c 'interface carpbackup $subsystem'"; +}; + # When a USB keyboard arrives, attach it as the console keyboard. attach 100 { device-name "ukbd0"; |