From 27dacbf5f8ca4328e66183800378efb8615ede1a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 23 Aug 2023 14:40:18 +0300 Subject: [PATCH] systemd-networkd: add commented RequiredFamilyForOnline= under [Link] --- etc/systemd/network/10-ether.network | 2 ++ etc/systemd/network/10-wlan.network | 2 ++ 2 files changed, 4 insertions(+) diff --git a/etc/systemd/network/10-ether.network b/etc/systemd/network/10-ether.network index ba9ee367..e8ad43e1 100644 --- a/etc/systemd/network/10-ether.network +++ b/etc/systemd/network/10-ether.network @@ -8,6 +8,8 @@ Type=ether # My devices generally also have WiFi so lack of ethernet is not a reason # to wait for systemd-networkd-wait-online.service RequiredForOnline=no +# Takes "ipv4", "ipv6", "both", or "any" (default). +RequiredFamilyForOnline=both # Always set administrative state to up. Implies RequiredForOnline=yes #ActivationPolicy=always-up diff --git a/etc/systemd/network/10-wlan.network b/etc/systemd/network/10-wlan.network index d289dc98..f15a23b6 100644 --- a/etc/systemd/network/10-wlan.network +++ b/etc/systemd/network/10-wlan.network @@ -5,6 +5,8 @@ Type=wlan [Link] +# Takes "ipv4", "ipv6", "both", or "any" (default). +RequiredFamilyForOnline=both # Always set administrative state to up. Implies RequiredForOnline=yes ActivationPolicy=always-up # Managed by iwd