Skip to content

Commit 36e77fa

Browse files
committed
Fix devd match - it's prefixed by the friendly name, not by the physical interface name
1 parent 260f267 commit 36e77fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/devd.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ options {
1616
notify 100 {
1717
match "system" "IFNET";
1818
match "type" "LINK_UP";
19-
match "subsystem" "[a-z]+[0-9]+_vip[0-9]+";
19+
match "subsystem" "[a-zA-Z0-9_]+_vip[0-9]+";
2020
action "/etc/rc.carpmaster $subsystem";
2121
};
2222

2323
notify 100 {
2424
match "system" "IFNET";
2525
match "type" "LINK_DOWN";
26-
match "subsystem" "[a-z]+[0-9]+_vip[0-9]+";
26+
match "subsystem" "[a-zA-Z0-9_]+_vip[0-9]+";
2727
action "/etc/rc.carpbackup $subsystem";
2828
};
2929

0 commit comments

Comments
 (0)