Fix issues in scripts, update configs

This commit is contained in:
natemaia
2018-02-07 17:38:43 -08:00
parent 090dc5aa50
commit 02cd993afd
6 changed files with 11 additions and 12 deletions

View File

@ -4,7 +4,7 @@ connected=""
disconnected=""
while true; do
if [[ $(ping -c1 8.8.8.8) ]]; then
if ping -c1 8.8.8.8 &>/dev/null; then
echo "$connected"; sleep 10
else
echo "$disconnected"; sleep 1