Remove escaping from nmcli

This commit is contained in:
Mike Reeves
2023-05-09 11:55:51 -04:00
parent 089fcbd0c5
commit 02b619193d

View File

@@ -2293,8 +2293,8 @@ set_initial_firewall_access() {
set_management_interface() {
title "Setting up the main interface"
if [ "$address_type" = 'DHCP' ]; then
logCmd "nmcli con mod \"$MNIC\" connection.autoconnect yes"
logCmd "nmcli con up \"$MNIC\""
logCmd "nmcli con mod $MNIC connection.autoconnect yes"
logCmd "nmcli con up $MNIC"
else
# Set Static IP
nmcli con mod "$MNIC" ipv4.addresses "$MIP"/"$MMASK"\