Update wz_mini_web.sh

correctly identify wz_mini version
This commit is contained in:
virmaior 2022-07-16 21:21:55 +09:00 committed by GitHub
parent c72441ea11
commit a19d6f3552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ base_dir=/opt/wz_mini/
hack_ini=/opt/wz_mini/wz_mini.conf hack_ini=/opt/wz_mini/wz_mini.conf
camver=V3 camver=V3
camfirmware=$(tail -n1 /configs/app.ver | cut -f2 -d= ) camfirmware=$(tail -n1 /configs/app.ver | cut -f2 -d= )
hackver="unknown" hackver=$(cat /opt/wz_mini/usr/bin/app.ver)
hostname=$(uname -n) hostname=$(uname -n)
title="Wyze $camver on $camfirmware running wz_mini $hackver as $hostname" title="Wyze $camver on $camfirmware running wz_mini $hackver as $hostname"