systemd-networkd: add commented RequiredFamilyForOnline= under [Link]

This commit is contained in:
Aminda Suomalainen 2023-08-23 14:40:18 +03:00
parent 2e1a5cbfe1
commit 27dacbf5f8
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ Type=ether
# My devices generally also have WiFi so lack of ethernet is not a reason # My devices generally also have WiFi so lack of ethernet is not a reason
# to wait for systemd-networkd-wait-online.service # to wait for systemd-networkd-wait-online.service
RequiredForOnline=no RequiredForOnline=no
# Takes "ipv4", "ipv6", "both", or "any" (default).
RequiredFamilyForOnline=both
# Always set administrative state to up. Implies RequiredForOnline=yes # Always set administrative state to up. Implies RequiredForOnline=yes
#ActivationPolicy=always-up #ActivationPolicy=always-up

View File

@ -5,6 +5,8 @@
Type=wlan Type=wlan
[Link] [Link]
# Takes "ipv4", "ipv6", "both", or "any" (default).
RequiredFamilyForOnline=both
# Always set administrative state to up. Implies RequiredForOnline=yes # Always set administrative state to up. Implies RequiredForOnline=yes
ActivationPolicy=always-up ActivationPolicy=always-up
# Managed by iwd # Managed by iwd