mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 18:44:29 +05:00
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
This commit is contained in:
@@ -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"
|
WEBCAM_TXT_SRC="https://raw.githubusercontent.com/mainsail-crew/MainsailOS/master/src/modules/mjpgstreamer/filesystem/home/pi/klipper_config/webcam.txt"
|
||||||
|
|
||||||
install_mjpg-streamer(){
|
install_mjpg-streamer(){
|
||||||
### checking dependencies
|
|
||||||
check_klipper_cfg_path
|
check_klipper_cfg_path
|
||||||
|
source_kiauh_ini
|
||||||
|
|
||||||
### set default values
|
### set default values
|
||||||
MJPG_SERV_SRC="${SRCDIR}/kiauh/resources/webcamd.service"
|
MJPG_SERV_SRC="${SRCDIR}/kiauh/resources/webcamd.service"
|
||||||
|
|||||||
Reference in New Issue
Block a user