]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/devd/dhclient.conf
zfs: merge openzfs/zfs@d96e29576
[FreeBSD/FreeBSD.git] / sbin / devd / dhclient.conf
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 #
7 notify 0 {
8         match "system"          "IFNET";
9         match "type"            "LINK_UP";
10         media-type              "ethernet";
11         action "service dhclient quietstart $subsystem";
12 };
13
14 notify 0 {
15         match "system"          "IFNET";
16         match "type"            "LINK_UP";
17         media-type              "802.11";
18         action "service dhclient quietstart $subsystem";
19 };