#!/bin/bash PUBKEY="DM5qhLAE20PG9BbfBCger+Ac9D2NDOwCtY1rbYDLf34=" IPADDR="69.169.21.167" MACADDRESS="56:2a:9c:d4:e2:16" ACCESSKEY="HzIeRewZEyMWtUSF" PASSWORD="password" LOCALADDRESS="192.168.1.21" generate_post_json () { cat <