From 283a65dcfd7b1f2582fab4f37319da23469ce34d Mon Sep 17 00:00:00 2001 From: David Todd Date: Tue, 8 Oct 2019 19:42:26 -0500 Subject: [PATCH] log the date and time the internet goes out --- i3/i3blocks/internet | 1 + 1 file changed, 1 insertion(+) diff --git a/i3/i3blocks/internet b/i3/i3blocks/internet index f8d6fda..bbd761f 100755 --- a/i3/i3blocks/internet +++ b/i3/i3blocks/internet @@ -4,4 +4,5 @@ if ping -c 1 1.1.1.1 > /dev/null 2>&1; then echo "😛" else echo "😤" + echo "$(date)" >> /tmp/internet-outages fi