Update powerwall.sh

This commit is contained in:
2022-09-11 14:25:44 -05:00
parent 61994fd6c6
commit b3e9fd64a6

View File

@@ -203,7 +203,7 @@ if [ ${action-x} ]; then
CHECKTEMP_SERVICE ${2}
fi
;;
checktacv_service)
checkacv_service)
if [ "${2}" = "stop" ]; then
service_pid=`systemctl show --property MainPID --value ${SERVICE_NAME[${3}]}`
/bin/kill -9 $service_pid