qmicli: no need for extra ping test
This commit is contained in:
parent
ed404fcb4b
commit
b18c37bb4a
|
@ -34,7 +34,5 @@ ExecStartPre=sh -c "qmicli $qmi --wds-follow-network --wds-get-autoconnect-setti
|
|||
# Bring up the network.
|
||||
ExecStartPre=networkctl up $dev_name
|
||||
|
||||
ExecStartPre=ping -w 120 -c 10 -I $dev_name one.one.one.one
|
||||
|
||||
# Main "process" to keep an eye on the network.
|
||||
ExecStart=bash -e -c "while true; do ping -w 120 -I $dev_name -c 5 one.one.one.one || exit 1; sleep 300; done;"
|
||||
|
|
Loading…
Reference in New Issue