From 03322e8159b46837b31fa23fad9aafb03018e080 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Date: Wed, 9 Jan 2019 17:59:27 +0100 Subject: [PATCH] Remove testing client --- client.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 client.sh diff --git a/client.sh b/client.sh deleted file mode 100755 index 16e26e6..0000000 --- a/client.sh +++ /dev/null @@ -1,18 +0,0 @@ -SECRET="SECRET" - -sleep 10 - -wget -O- https://admin360.kumi.host/hosts --post-data "secret=$SECRET" - -ipaddr(){ - if="${1:-br-VPN360}" - result=$(/sbin/ip -o -4 addr show dev "${if}" | sed 's/^.*inet // ; s/\/...*$//') - printf %s "${result}" - tty -s && printf "\n" -} - -while [ True ]; do - sleep 60; - wget -O- https://admin360.kumi.host/heartbeat --post-data "secret=$SECRET&ip=$(ipaddr)"; -done -