Update powerwall.sh
This commit is contained in:
1 parent
3d22ecfa95
commit
94c8650607
1 file changed
+3
@@ -521,11 +521,14 @@ check_GETHOSTPOWER(){
|
||||
if [ "${PW_HOST_IDRACS[${SENSOR}]}" != "" ]; then
|
||||
checked=""
|
||||
until [ "${checked}" != "" ]; do
|
||||
echo waiting
|
||||
[ -f ${PW_TMPFOLDER}/${PW_HOST_IDRACS[${SENSOR}]}.hostpower ] && checked=good
|
||||
done
|
||||
echo "FOUND --------------------------"
|
||||
fi
|
||||
done
|
||||
touch ${PW_TMPFOLDER}/done.hostpower
|
||||
echo "DONE --------------------------"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user