From 02b619193d53edaf5ef7869ff0842518bcdb5915 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 9 May 2023 11:55:51 -0400 Subject: [PATCH] Remove escaping from nmcli --- setup/so-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index 7cd87b091..e9bfc6054 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -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"\