From 44a2f4b4827bb5a56aff847fb448bf725654871a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 23 Jul 2024 08:43:39 +0300 Subject: [PATCH] systemd-networkd: adjust comments --- etc/systemd/network/10-ether.network | 6 +----- etc/systemd/network/10-none.network | 2 +- etc/systemd/network/10-wireguard.network | 2 +- etc/systemd/network/10-wlan.network | 4 ++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/etc/systemd/network/10-ether.network b/etc/systemd/network/10-ether.network index 1a480f7a..fec1e91b 100644 --- a/etc/systemd/network/10-ether.network +++ b/etc/systemd/network/10-ether.network @@ -1,12 +1,8 @@ [Match] -#Name=* -# Can be {colon,hyphen,dot}-delimited hexadecimal or IPv{4,6} address #MACAddress= Type=ether [Link] -# My devices generally also have WiFi so lack of ethernet is not a reason -# to wait for systemd-networkd-wait-online.service RequiredForOnline=false # Takes "ipv4", "ipv6", "both", or "any" (default). RequiredFamilyForOnline=both @@ -15,7 +11,7 @@ RequiredFamilyForOnline=both # Always set administrative state to up. Implies RequiredForOnline=true #ActivationPolicy=always-up # Required for mDNS -Multicast=true +#Multicast=true [Network] #DHCP=true diff --git a/etc/systemd/network/10-none.network b/etc/systemd/network/10-none.network index ef85ce89..0b69301e 100644 --- a/etc/systemd/network/10-none.network +++ b/etc/systemd/network/10-none.network @@ -4,7 +4,7 @@ Type=none [Link] Unmanaged=true -Multicast=false +#Multicast=false [Network] IPv6PrivacyExtensions=true diff --git a/etc/systemd/network/10-wireguard.network b/etc/systemd/network/10-wireguard.network index a6d12644..ddba3ff2 100644 --- a/etc/systemd/network/10-wireguard.network +++ b/etc/systemd/network/10-wireguard.network @@ -3,7 +3,7 @@ Type=wireguard [Link] Unmanaged=true -Multicast=false +#Multicast=false [Network] IPv6PrivacyExtensions=true diff --git a/etc/systemd/network/10-wlan.network b/etc/systemd/network/10-wlan.network index d20f768c..2b1272ee 100644 --- a/etc/systemd/network/10-wlan.network +++ b/etc/systemd/network/10-wlan.network @@ -6,14 +6,14 @@ Type=wlan [Link] # Takes "ipv4", "ipv6", "both", or "any" (default). -RequiredFamilyForOnline=both +#RequiredFamilyForOnline=both # Always set administrative state to up. Implies RequiredForOnline=true ActivationPolicy=always-up # If something else (like iwd EnableNetworkConfiguration=true) manages network, # uncomment #Unmanaged=true # Required for mDNS -Multicast=true +#Multicast=true [Network] DHCP=true