xref: /freebsd/sbin/devd/dhclient.conf (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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