From 4ea955c544fa5ff4939449bc163426fc36e1482f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 2 Dec 2013 21:41:12 +0100 Subject: [PATCH] core74: Fix incrementation. --- config/rootfiles/core/74/update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/config/rootfiles/core/74/update.sh b/config/rootfiles/core/74/update.sh index 3f8abce051..ca26b514e9 100644 --- a/config/rootfiles/core/74/update.sh +++ b/config/rootfiles/core/74/update.sh @@ -48,6 +48,7 @@ if [ -e "/var/ipfire/proxy/enable" ] || [ -e "/var/ipfire/proxy/enable_blue" ]; eval $(/usr/local/bin/readhash /var/ipfire/proxy/advanced/settings) if [ "${TRANSPARENT_PORT}" = "81" ]; then + TRANSPARENT_PORT="$(( ${TRANSPARENT_PORT} + 1 ))" sed -e "s/^TRANSPARENT_PORT=.*/TRANSPARENT_PORT=${TRANSPARENT_PORT}/" \ -i /var/ipfire/proxy/advanced/settings fi -- 2.39.5