Update powerwall.sh
This commit is contained in:
@@ -594,7 +594,6 @@ CHECKPOWER(){
|
|||||||
|
|
||||||
until [ "${checked}" != "" ]; do
|
until [ "${checked}" != "" ]; do
|
||||||
for hostfile in "${PW_TMPFOLDER}/*.hostpower"; do
|
for hostfile in "${PW_TMPFOLDER}/*.hostpower"; do
|
||||||
echo "HERE: $host = $hostfile"
|
|
||||||
if [ -f ${hostfile} ]; then
|
if [ -f ${hostfile} ]; then
|
||||||
host=${hostfile%.*}; host=${host##*/}
|
host=${hostfile%.*}; host=${host##*/}
|
||||||
watts=$(cat ${hostfile})
|
watts=$(cat ${hostfile})
|
||||||
|
|||||||
Reference in New Issue
Block a user