From 1a398a7d42d4fdb476e8ad13c0042010f337eeaa Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 19 Oct 2024 18:28:58 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- host/make.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/host/make.sh b/host/make.sh index dd82029..03a11f5 100755 --- a/host/make.sh +++ b/host/make.sh @@ -150,9 +150,12 @@ if xreadYes "# Create bridges?" BRIDGES ; then # -e 's/'$ADMIN_PORT'/'$BOOTSTRAP_PORT'/' \ # "$INTERFACES".clean @ sed -i \ - -e 's/^.*gateway .*$//' \ + -e 's/^.*gateway .*\n//' \ "$INTERFACES".clean - echo "$BRIDGES" >> "$INTERFACES".clean + echo "$BRIDGES" \ + | sed \ + -e 's/'$ADMIN_PORT'/'$BOOTSTRAP_PORT'/' \ + >> "$INTERFACES".clean BRIDGES=$(\ echo "$BRIDGES_BOOTSTRAP" \ | sed -e 's/^.*gateway .*$//')