From b92cfc39841bde90d3d49afbc76e8d193a5f202b Mon Sep 17 00:00:00 2001 From: th33xitus Date: Fri, 24 Dec 2021 00:22:15 +0100 Subject: [PATCH] fix: klipper_cfg_loc was an empty string if the config location wasn't already set before installing mjpg-streamer, klipper_cfg_loc was empty, even after calling the check_klipper_cfg_path function beforehand moonraker.conf: set refresh_interval to 24hrs --- scripts/install_mjpg-streamer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_mjpg-streamer.sh b/scripts/install_mjpg-streamer.sh index 4249bff..5c04969 100755 --- a/scripts/install_mjpg-streamer.sh +++ b/scripts/install_mjpg-streamer.sh @@ -4,8 +4,8 @@ WEBCAMD_SRC="https://raw.githubusercontent.com/mainsail-crew/MainsailOS/master/s WEBCAM_TXT_SRC="https://raw.githubusercontent.com/mainsail-crew/MainsailOS/master/src/modules/mjpgstreamer/filesystem/home/pi/klipper_config/webcam.txt" install_mjpg-streamer(){ - ### checking dependencies check_klipper_cfg_path + source_kiauh_ini ### set default values MJPG_SERV_SRC="${SRCDIR}/kiauh/resources/webcamd.service"