mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-12-23 12:43:35 +00:00
Update wz_mini_web.sh
correctly identify wz_mini version
This commit is contained in:
parent
c72441ea11
commit
a19d6f3552
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user