notify when internet goes down
This commit is contained in:
parent
c9f85d905e
commit
62a40cac7e
@ -5,4 +5,5 @@ if ping -c 1 1.1.1.1 > /dev/null 2>&1; then
|
|||||||
else
|
else
|
||||||
echo "😤"
|
echo "😤"
|
||||||
echo "$(date)" >> /tmp/internet-outages
|
echo "$(date)" >> /tmp/internet-outages
|
||||||
|
nfty send "Internet Outage"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user