Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-08-06 01:37:44 +03:00
parent 9f6c660cf2
commit 68bd2e6a76

View File

@ -86,13 +86,16 @@ if xreadYes "# Create bridges?" BRIDGES ; then
BRIDGES="$(\
cat bridges.tpl \
| expandPCTTemplate WAN_PORT ADMIN_PORT)"
| expandPCTTemplate \
LAN_BRIDGE WAN_BRIDGE ADMIN_BRIDGE \
WAN_PORT ADMIN_PORT \
HOST_ADMIN_IP GATE_ADMIN_IP)"
if [ -z "$DRY_RUN" ] ; then
# XXX add $BRIDGES to /etc/network/interfaces either before the
# source command or at the end...
# XXX
echo
echo "$BRIDGES" >> /etc/network/interfaces.new
fi
if reviewApplyChanges /etc/network/interfaces ; then