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