Skip to content

Commit 8a51ee1

Browse files
committed
fix(network-manager): set timeout via command line option
With Fedora 32, only the command line option works for `nm-online`.
1 parent e942d86 commit 8a51ee1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules.d/35network-manager/nm-wait-online-initrd.service

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ ConditionPathExists=/run/NetworkManager/initrd/neednet
88

99
[Service]
1010
Type=oneshot
11-
ExecStart=/usr/bin/nm-online -s -q
11+
ExecStart=/usr/bin/nm-online -s -q -t 3600
1212
RemainAfterExit=yes
13-
Environment=NM_ONLINE_TIMEOUT=3600
1413

1514
[Install]
1615
WantedBy=initrd.target

0 commit comments

Comments
 (0)