From 61332403f9ac1c932fe87c238bf3c10ee130dc16 Mon Sep 17 00:00:00 2001 From: paukstelis Date: Thu, 22 Apr 2021 21:55:20 -0400 Subject: [PATCH] echo to config.yaml for cameras --- addnew_printer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addnew_printer.sh b/addnew_printer.sh index d1703f7..d6c209a 100755 --- a/addnew_printer.sh +++ b/addnew_printer.sh @@ -253,7 +253,7 @@ then mv $SCRIPTDIR/cam_$INSTANCE.service /etc/systemd/system/ echo $CAMPORT >> /etc/camera_ports #config.yaml modifications - echo "webcam: >> $OCTOCONFIG/.$INSTANCE/config.yaml" + echo "webcam: >> $OCTOCONFIG/.$INSTANCE/config.yaml" >> $OCTOCONFIG/.$INSTANCE/config.yaml echo " snapshot: http://localhost:$CAMPORT?action=snapshot" >> $OCTOCONFIG/.$INSTANCE/config.yaml echo " stream: http://localhost:$CAMPORT?action=stream" >> $OCTOCONFIG/.$INSTANCE/config.yaml echo