summaryrefslogtreecommitdiff
path: root/keepalive
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-12 08:10:42 +0200
committerLars Wirzenius <liw@liw.fi>2021-03-12 08:24:06 +0200
commit466fcd268e53743ca7414f1fe969a74cd0ac1ee1 (patch)
tree18056390e7f507c1f40b38edfaa4c218b840f0e7 /keepalive
parent2a562fd5a7d935d3743f6746927236b40f891a5c (diff)
downloadextrautils-466fcd268e53743ca7414f1fe969a74cd0ac1ee1.tar.gz
drop old crap
Diffstat (limited to 'keepalive')
-rwxr-xr-xkeepalive17
1 files changed, 0 insertions, 17 deletions
diff --git a/keepalive b/keepalive
deleted file mode 100755
index f264d26..0000000
--- a/keepalive
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-while true
-do
- if ping -c1 -t100 8.8.8.8 > /dev/null 2>&1
- then
- sleep 5
- else
- echo "No networking. Turning networking off and back on again. $(date)"
- nmcli networking off
- sleep 2
- nmcli networking on
- sleep 20
- fi
-done