Fix ping call in vpn docs

The `-W` option requires a timeout. Without it, the ping command fails.
This commit is contained in:
Bryce Guinta 2018-12-27 23:42:53 -07:00 committed by GitHub
parent 412c45765f
commit de96766d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ Set up a ProxyVM as a VPN gateway using NetworkManager
```bash
# Automatically connect to the VPN once Internet is up
while ! ping -c 1 -W 1.1.1.1; do
while ! ping -c 1 -W 1 1.1.1.1; do
sleep 1
done
PWDFILE="/rw/config/NM-system-connections/secrets/passwd-file.txt"