From 853e80640f0d9d93d0c77b40b0f6c6f305f8d1b8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 19 Oct 2024 18:12:36 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- host/make.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/host/make.sh b/host/make.sh index ae6aea3..dd82029 100755 --- a/host/make.sh +++ b/host/make.sh @@ -144,11 +144,18 @@ if xreadYes "# Create bridges?" BRIDGES ; then # write both bootstrap and clean bridge configurations... if ! [ -z $BRIDGES_BOOTSTRAP ] ; then @ cp "$INTERFACES"{.new,.clean} + # XXX disconnect bootstrap and connnect admin... + # ...make this optional... + #@ sed -i \ + # -e 's/'$ADMIN_PORT'/'$BOOTSTRAP_PORT'/' \ + # "$INTERFACES".clean @ sed -i \ - -e 's/'$ADMIN_PORT'/'$BOOTSTRAP_PORT'/' \ + -e 's/^.*gateway .*$//' \ "$INTERFACES".clean echo "$BRIDGES" >> "$INTERFACES".clean - BRIDGES="$BRIDGES_BOOTSTRAP" + BRIDGES=$(\ + echo "$BRIDGES_BOOTSTRAP" \ + | sed -e 's/^.*gateway .*$//') fi echo "$BRIDGES" >> "$INTERFACES".new