Remove testing client
This commit is contained in:
parent
4b7d6b14ae
commit
03322e8159
1 changed files with 0 additions and 18 deletions
18
client.sh
18
client.sh
|
@ -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
|
||||
|
Loading…
Reference in a new issue