summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-05 11:55:09 -0400
committerjim-p <jimp@pfsense.org>2015-06-05 11:55:09 -0400
commitb4aac247ac2d1b1647bc5e71d3668c0e6bf8a3ab (patch)
treee9a46191576342f28c5bc972b886edb66df4937d /etc
parent1557716b7c0d76a435e1604174249d814c6b5a26 (diff)
downloadpfsense-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.conf6
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";
OpenPOWER on IntegriCloud