xref: /freebsd/sbin/devd/dhclient.conf (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1#
2# Try to start dhclient on Ethernet-like interfaces when the link comes
3# up.  Only devices that are configured to support DHCP will actually
4# run it.  No link down rule exists because dhclient automatically exits
5# when the link goes down.
6#
7notify 0 {
8	match "system"		"IFNET";
9	match "type"		"LINK_UP";
10	media-type		"ethernet";
11	action "service dhclient quietstart $subsystem";
12};
13
14notify 0 {
15	match "system"		"IFNET";
16	match "type"		"LINK_UP";
17	media-type		"802.11";
18	action "service dhclient quietstart $subsystem";
19};
20