1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-03 05:02:40 +02:00

Update ui_motion.cgi

fix typo
This commit is contained in:
jmtatsch
2020-12-27 10:11:57 +01:00
committed by GitHub
parent ccdfd4d239
commit 5fc16fb409

View File

@@ -95,7 +95,7 @@ if [ -n "$F_cmd" ]; then
if [ -n "${F_maxSnaphotDays+x}" ]; then
F_maxSnaphotDays=$(printf '%b' "${F_maxSnaphotDays//%/\\x}")
rewrite_config /system/sdcard/config/motion.conf max_snapshot_days $F_maxSnaphotDays
echo "Maximun snapshot retention in days set to $F_maxSnaphotDays<br/>"
echo "Maximum snapshot retention in days set to $F_maxSnaphotDays<br/>"
fi
if [ -n "${F_saveVideo+x}" ]; then
F_saveVideo=$(printf '%b' "${F_saveVideo//%/\\x}")
@@ -105,7 +105,7 @@ if [ -n "$F_cmd" ]; then
if [ -n "${F_maxVideoDays+x}" ]; then
F_maxVideoDays=$(printf '%b' "${F_maxVideoDays//%/\\x}")
rewrite_config /system/sdcard/config/motion.conf max_video_days $F_maxVideoDays
echo "Maximun video retention in days set to $F_maxVideoDays<br/>"
echo "Maximum video retention in days set to $F_maxVideoDays<br/>"
fi
if [ -n "${F_smbSnapshot+x}" ]; then
F_smbSnapshot=$(printf '%b' "${F_smbSnapshot//%/\\x}")