Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-05-29 16:55:35 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-05-29 16:55:35 +0200
commit85c7cbee696447eb610db643426dcf238f91d8ac (patch)
tree778108871addc7bf398d6fb206453013ed127559
parent254194ad6f2c4e552d9c0a34727d2c535e9cb01f (diff)
parent3b2618ff842f62cb3389ecd9d0e107ba2ad07af3 (diff)
Merge remote-tracking branch 'nl6720/networkd-replace-type-with-name'
* nl6720/networkd-replace-type-with-name: configs/releng/airootfs/etc/systemd/network/: match by globbing the interface name instead of matching the type
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-ethernet.network3
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-wlan.network2
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-wwan.network2
3 files changed, 4 insertions, 3 deletions
diff --git a/configs/releng/airootfs/etc/systemd/network/20-ethernet.network b/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
index 4fce10c..142c591 100644
--- a/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
+++ b/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
@@ -2,7 +2,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
-Type=ether
+Name=en*
+Name=eth*
[Network]
DHCP=yes
diff --git a/configs/releng/airootfs/etc/systemd/network/20-wlan.network b/configs/releng/airootfs/etc/systemd/network/20-wlan.network
index 73a6bbd..c164666 100644
--- a/configs/releng/airootfs/etc/systemd/network/20-wlan.network
+++ b/configs/releng/airootfs/etc/systemd/network/20-wlan.network
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
-Type=wlan
+Name=wl*
[Network]
DHCP=yes
diff --git a/configs/releng/airootfs/etc/systemd/network/20-wwan.network b/configs/releng/airootfs/etc/systemd/network/20-wwan.network
index cc946fe..7fba35b 100644
--- a/configs/releng/airootfs/etc/systemd/network/20-wwan.network
+++ b/configs/releng/airootfs/etc/systemd/network/20-wwan.network
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[Match]
-Type=wwan
+Name=ww*
[Network]
DHCP=yes