add iscloudconnected script

pull/135/head
Michael Zanetti 2018-03-27 21:13:13 +02:00
parent 71cc5452fc
commit a29c8fe55d
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
if [ -z $1 ]; then
echo "usage $0 host"
else
(echo '{"id":1, "method":"JSONRPC.IsCloudConnected"}'; sleep 1) | nc $1 2222
fi