From ac5dabf20219914c38d6d1d1a30c705ff3d840f5 Mon Sep 17 00:00:00 2001 From: simatec Date: Wed, 5 Jun 2024 20:32:47 +0200 Subject: [PATCH] (simatec) small fix --- patch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patch.sh b/patch.sh index cc5ddad..41f2361 100644 --- a/patch.sh +++ b/patch.sh @@ -84,7 +84,7 @@ required_version="1.4.5" if compare_versions "$PILER_VERSION" "$required_version"; then file="/var/lib/docker/volumes/piler-docker_piler_etc/_data/manticore.conf" - patchNum="pilerPatch_001" + patchNum="pilerPatch001" search_entry="127.0.0.1:9307:" new_entry="${entry}\tlisten\t\t\t= 127.0.0.1:9307:mysql_readonly" @@ -99,7 +99,7 @@ if compare_versions "$PILER_VERSION" "$required_version"; then if grep -q '\btlisten\b' "$file"; then sed -i 's/\btlisten\b/listen/g' "$file" fi - + echo "Patch manticore.conf with new entry: listen = 127.0.0.1:9307:mysql_readonly" else echo "Patch already executed. No action required"