From 42e03bd07b1d6b8d684919c2ded5386620b32169 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 19 Oct 2024 18:49:23 +0300 Subject: [PATCH] fixs... Signed-off-by: Alex A. Naanou --- host/make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/make.sh b/host/make.sh index 1f9448d..29b893c 100755 --- a/host/make.sh +++ b/host/make.sh @@ -156,7 +156,7 @@ if xreadYes "# Create bridges?" BRIDGES ; then # interfaces.clean @ cp "$INTERFACES"{.new,.clean} @ sed -i \ - -e 's/^.*gateway .*\n//' \ + -e '/^.*gateway .*$/' \ "$INTERFACES".clean echo "$BRIDGES" \ | sed \ @@ -166,7 +166,7 @@ if xreadYes "# Create bridges?" BRIDGES ; then # interfaces.new (prep) BRIDGES=$(\ echo "$BRIDGES_BOOTSTRAP" \ - | sed -e 's/^.*gateway .*$//') + | sed -e '/^.*gateway .*$/d') fi # interfaces.new