From 966e6ffcea0610ef889f52162590a031ef2a7834 Mon Sep 17 00:00:00 2001 From: Alfonso Gamboa Date: Fri, 20 May 2022 00:11:07 -0700 Subject: [PATCH] fix bad variable for usb webcam mode --- SD_ROOT/wz_mini/etc/init.d/v3_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SD_ROOT/wz_mini/etc/init.d/v3_init.sh b/SD_ROOT/wz_mini/etc/init.d/v3_init.sh index 6aab79d..9ac3254 100644 --- a/SD_ROOT/wz_mini/etc/init.d/v3_init.sh +++ b/SD_ROOT/wz_mini/etc/init.d/v3_init.sh @@ -121,7 +121,7 @@ if [[ $(cat /opt/wz_mini/run_mmc.sh | grep "DEBUG_ENABLED\=") == "DEBUG_ENABLED\ touch /tmp/dbgflag else -if [[ $(cat /opt/wz_mini/run_mmc.sh | grep "ENABLE_WEB_CAM\=") == "ENABLE_WEB_CAM\=\"true\"" ]]; then +if [[ $(cat /opt/wz_mini/run_mmc.sh | grep "WEB_CAM_ENABLE\=") == "WEB_CAM_ENABLE\=\"true\"" ]]; then sed -i '/app_init.sh/,+3d' /opt/wz_mini/tmp/.storage/rcS sed -i '/^# Run init/i/opt/wz_mini/etc/init.d/wz_cam.sh' /opt/wz_mini/tmp/.storage/rcS touch /tmp/dbgflag