echo to config.yaml for cameras

This commit is contained in:
paukstelis
2021-04-22 21:55:20 -04:00
parent 6ca62f1560
commit 61332403f9

View File

@@ -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