From 012f55dac5b87a3053604aea0a73c37e430f9eb8 Mon Sep 17 00:00:00 2001 From: paukstelis Date: Tue, 21 Feb 2023 21:33:29 -0500 Subject: [PATCH] missing fi --- octoprint_deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint_deploy.sh b/octoprint_deploy.sh index 1a37816..50b7040 100755 --- a/octoprint_deploy.sh +++ b/octoprint_deploy.sh @@ -399,7 +399,7 @@ EXTRACAM="backend cam${INUM}_$INSTANCE\n\ EXTRACAM="backend cam${INUM}_$INSTANCE\n\ reqrep ^([^\ :]*)\ /cam${INUM}_$INSTANCE/(.*) \1\ /|\2 \n\ server webcam1 127.0.0.1:$CAMPORT" - + fi echo "#cam${INUM}_$INSTANCE start" >> /etc/haproxy/haproxy.cfg sed -i "/#cam${INUM}_$INSTANCE start/a $EXTRACAM" /etc/haproxy/haproxy.cfg