From 8a51ee1fa61bd3da342be53e35730837afd2caad Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 22 Apr 2021 10:21:18 +0200 Subject: [PATCH] fix(network-manager): set timeout via command line option With Fedora 32, only the command line option works for `nm-online`. --- modules.d/35network-manager/nm-wait-online-initrd.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules.d/35network-manager/nm-wait-online-initrd.service b/modules.d/35network-manager/nm-wait-online-initrd.service index 4914203013..ac8762a193 100644 --- a/modules.d/35network-manager/nm-wait-online-initrd.service +++ b/modules.d/35network-manager/nm-wait-online-initrd.service @@ -8,9 +8,8 @@ ConditionPathExists=/run/NetworkManager/initrd/neednet [Service] Type=oneshot -ExecStart=/usr/bin/nm-online -s -q +ExecStart=/usr/bin/nm-online -s -q -t 3600 RemainAfterExit=yes -Environment=NM_ONLINE_TIMEOUT=3600 [Install] WantedBy=initrd.target