Skip to content

Commit

Permalink
fix(network-manager): set timeout via command line option
Browse files Browse the repository at this point in the history
With Fedora 32, only the command line option works for `nm-online`.
  • Loading branch information
haraldh committed Apr 22, 2021
1 parent e942d86 commit 8a51ee1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules.d/35network-manager/nm-wait-online-initrd.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a51ee1

Please sign in to comment.