summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-29 14:18:48 -0400
committerjim-p <jimp@pfsense.org>2012-06-29 14:18:48 -0400
commit36e77fa968db0648c82fc2f83d2219591bd311d9 (patch)
treebb140313052ca93729cb6066f99c392828a5685a /etc/devd.conf
parent260f267e71c8ee8fce1f499a22cc94cd5627c1ba (diff)
downloadpfsense-36e77fa968db0648c82fc2f83d2219591bd311d9.zip
pfsense-36e77fa968db0648c82fc2f83d2219591bd311d9.tar.gz
Fix devd match - it's prefixed by the friendly name, not by the physical interface name
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 5e89cbf..30f3cc5 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -16,14 +16,14 @@ options {
notify 100 {
match "system" "IFNET";
match "type" "LINK_UP";
- match "subsystem" "[a-z]+[0-9]+_vip[0-9]+";
+ match "subsystem" "[a-zA-Z0-9_]+_vip[0-9]+";
action "/etc/rc.carpmaster $subsystem";
};
notify 100 {
match "system" "IFNET";
match "type" "LINK_DOWN";
- match "subsystem" "[a-z]+[0-9]+_vip[0-9]+";
+ match "subsystem" "[a-zA-Z0-9_]+_vip[0-9]+";
action "/etc/rc.carpbackup $subsystem";
};
OpenPOWER on IntegriCloud