Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-10-19 18:49:23 +03:00
parent 658780c71b
commit 42e03bd07b

View File

@ -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