reinclude config.yaml mod for cameras
This commit is contained in:
@@ -269,9 +269,9 @@ then
|
|||||||
mv $SCRIPTDIR/cam_$INSTANCE.service /etc/systemd/system/
|
mv $SCRIPTDIR/cam_$INSTANCE.service /etc/systemd/system/
|
||||||
echo $CAMPORT >> /etc/camera_ports
|
echo $CAMPORT >> /etc/camera_ports
|
||||||
#config.yaml modifications
|
#config.yaml modifications
|
||||||
#echo "webcam:" >> $OCTOCONFIG/.$INSTANCE/config.yaml
|
echo "webcam:" >> $OCTOCONFIG/.$INSTANCE/config.yaml
|
||||||
#echo " snapshot: http://localhost:$CAMPORT?action=snapshot" >> $OCTOCONFIG/.$INSTANCE/config.yaml
|
echo " snapshot: http://$(hostname).local:$CAMPORT?action=snapshot" >> $OCTOCONFIG/.$INSTANCE/config.yaml
|
||||||
#echo " stream: http://localhost:$CAMPORT?action=stream" >> $OCTOCONFIG/.$INSTANCE/config.yaml
|
echo " stream: http://$(hostname).local:$CAMPORT?action=stream" >> $OCTOCONFIG/.$INSTANCE/config.yaml
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
#Octobuntu Cameras udev identifier - either Serial number or USB port
|
#Octobuntu Cameras udev identifier - either Serial number or USB port
|
||||||
|
|||||||
Reference in New Issue
Block a user