mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
33 lines
976 B
Plaintext
33 lines
976 B
Plaintext
#
|
|
# Override the system defaults of devd so that pfSctl receives
|
|
# both LINK_UP and LINK_DOWN events on wired and wireless devices.
|
|
#
|
|
|
|
notify 101 {
|
|
match "system" "IFNET";
|
|
match "type" "LINK_UP";
|
|
media-type "ethernet";
|
|
action "/usr/local/sbin/pfSctl -c 'interface linkup start $subsystem'";
|
|
};
|
|
|
|
notify 101 {
|
|
match "system" "IFNET";
|
|
match "type" "LINK_DOWN";
|
|
media-type "ethernet";
|
|
action "/usr/local/sbin/pfSctl -c 'interface linkup stop $subsystem'";
|
|
};
|
|
|
|
notify 101 {
|
|
match "system" "IFNET";
|
|
match "type" "LINK_UP";
|
|
media-type "802.11";
|
|
action "/usr/local/sbin/pfSctl -c 'interface linkup start $subsystem'";
|
|
};
|
|
|
|
notify 101 {
|
|
match "system" "IFNET";
|
|
match "type" "LINK_DOWN";
|
|
media-type "802.11";
|
|
action "/usr/local/sbin/pfSctl -c 'interface linkup stop $subsystem'";
|
|
};
|