aboutsummaryrefslogtreecommitdiff
path: root/.scripts/hasnet
blob: 5acd1bedde16a02e3934daf738dd12e7a49d4d4d (plain) (blame)
1
2
3
#!/bin/sh

ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` >/dev/null