Verified Commit 8a521d0b authored by nl6720's avatar nl6720
Browse files

Update configs/releng/airootfs/etc/systemd/network/20-{ethernet,wireless}.network

* Match the device type instead of the interface name.
* Replace DHCP section with DHCPv4/DHCPv6. systemd split the sections.
parent 8cbc5483
......@@ -2,12 +2,14 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
Name=en*
Name=eth*
Type=ether
[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
[DHCP]
[DHCPv4]
RouteMetric=512
[DHCPv6]
RouteMetric=512
......@@ -2,12 +2,14 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
Name=wlp*
Name=wlan*
Type=wlan
[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
[DHCP]
[DHCPv4]
RouteMetric=1024
[DHCPv6]
RouteMetric=1024
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment