1#! /bin/sh 2dir=`dirname $0` 3dir=`realpath $dir` 4cd $dir 5mosquitto_pub --cert CA/certs/ew2017.client.crt --key CA/private/ew2017.client.key --cafile CA/ca/ca.crt --insecure $* 6