diff --git a/defaults.inc b/defaults.inc index 8de3b846..bdb2eef2 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,4 @@ -FOLDER='/opt/idssys/powerwall' VERS='1.090322' mqtt_conn='/usr/bin/mosquitto_sub -h 127.0.0.1 -u mqtt -P 12mqtt34password56' diff --git a/powerwall.sh b/powerwall.sh index e1d3d7b9..d187952b 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -2,6 +2,7 @@ # powerwall - CLI commands to control VM guest power action="$1" +FOLDER='/opt/idssys/powerwall' source $FOLDER/defaults.inc source $FOLDER/powerwall.conf