diff options
Diffstat (limited to '.scripts/hasnet')
-rwxr-xr-x | .scripts/hasnet | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/hasnet b/.scripts/hasnet new file mode 100755 index 0000000..5acd1be --- /dev/null +++ b/.scripts/hasnet @@ -0,0 +1,3 @@ +#!/bin/sh + +ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` >/dev/null |