summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-11-16 16:42:42 +0100
committerThomas Haller <thaller@redhat.com>2020-11-16 17:46:53 +0100
commitf59f1a25b4fd3eeb25dcddb8516e68aa6a162287 (patch)
tree21a0a7e46bc467447ddfb3198836d2d6516a9624 /data
parentacef72c0cb84f99db9f8d83d4c489e57320f4ce6 (diff)
downloadNetworkManager-f59f1a25b4fd3eeb25dcddb8516e68aa6a162287.tar.gz
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.
Diffstat (limited to 'data')
-rw-r--r--data/NetworkManager-wait-online.service.in2
1 files changed, 0 insertions, 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]