constant-flow / raspberry-pack

Setup your Raspberry Pi headlessly with all scripts, packages and tools you need
MIT License
6 stars 1 forks source link

Checking for internet connectivity not correctly working #10

Closed constant-flow closed 3 years ago

constant-flow commented 4 years ago

When it is waiting for internet connection in the beginning of the scripts, it prints out something like this

Usage: ping [-y ....]

As far as I know, this indicates that the command is not used correctly

constant-flow commented 3 years ago
ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3`

Works for now