9 lines
100 B
Plaintext
9 lines
100 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
ping -c 1 1.1.1.1 > /dev/null
|
||
|
if [ $? -eq 0 ]; then
|
||
|
true
|
||
|
else
|
||
|
false
|
||
|
fi
|