From f59f1a25b4fd3eeb25dcddb8516e68aa6a162287 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 16 Nov 2020 16:42:42 +0100 Subject: [PATCH] systemd: remove code comment from "NetworkManager-wait-online.service.in" > If there is no network [1] to connect to (if network interface is down [2]) > NetworkManager will make "nm-online -s" stop [3] without waiting. [1] we usually talk about connection profiles or devices/interfaces [2] it would be better to say, if no suitable profile is ready to autoconnect. [3] `nm-online -s` waits until NetworkManager declares "startup complete" reached. I find the wording of the comment not very clear or useful. Possibly I don't understand it properly, but that is a problem for a comment that is supposed to help. Remove it. --- data/NetworkManager-wait-online.service.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/data/NetworkManager-wait-online.service.in b/data/NetworkManager-wait-online.service.in index 0ebd3447ce..fda23916d5 100644 --- a/data/NetworkManager-wait-online.service.in +++ b/data/NetworkManager-wait-online.service.in @@ -26,8 +26,6 @@ RemainAfterExit=yes # gets delayed too long, then the solution is usually not to decrease # the timeout, but to fix your setup so that the connected state # gets reached earlier. -# If there is no network to connect to (if network interface is down), -# NetworkManager will make "nm-online -s" stop without waiting. Environment=NM_ONLINE_TIMEOUT=60 [Install]