Update powerwall.sh
This commit is contained in:
@@ -751,7 +751,7 @@ fi
|
||||
checktemp) CHECKTEMP ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};;
|
||||
checkpower) CHECKPOWER ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};;
|
||||
check)
|
||||
([ "${2}" == "" ] || ([ "${2}" != "power" ] && [ "${2}" != "temp" ])) && checkrun="-help" || checkrun=${2}
|
||||
([ "${2}" == "" ] || ([ "${2}" != "power" ] && [ "${2}" != "temp" ] && [ "${2}" != "all" ])) && checkrun="-help" || checkrun=${2}
|
||||
case ${checkrun} in
|
||||
power) CHECKPOWER ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};;
|
||||
temp) CHECKTEMP ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};;
|
||||
|
||||
Reference in New Issue
Block a user