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

Make image flip persist on reboot (#569)

* Basic keep image flip at reboot
settings page could be improved

* Basic keep image flip at reboot
settings page could be improved
This commit is contained in:
nik0
2018-07-14 09:47:27 +02:00
committed by jmtatsch
parent 8860635f3a
commit 616afb05e5
4 changed files with 18 additions and 0 deletions

View File

@@ -340,10 +340,12 @@ if [ -n "$F_cmd" ]; then
;;
flip-on)
rewrite_config /system/sdcard/config/rtspserver.conf FLIP "ON"
/system/sdcard/bin/setconf -k f -v 1
;;
flip-off)
rewrite_config /system/sdcard/config/rtspserver.conf FLIP "OFF"
/system/sdcard/bin/setconf -k f -v 0
;;