remove quotes so sed will work in logCmd

This commit is contained in:
m0duspwnens
2023-07-25 09:59:02 -04:00
parent 63eebdf6ac
commit fd69d1c714

View File

@@ -1056,7 +1056,7 @@ installer_prereq_packages() {
retry 150 10 "apt-get -y install network-manager ethtool" >> "$setup_log" 2>&1 || fail_setup
if [[ $is_debian ]]; then
info "Enabling network manager for the main interface"
logCmd "sed -i 's/managed=false/managed=true/g' /etc/NetworkManager/NetworkManager.conf"
logCmd "sed -i s/managed=false/managed=true/g /etc/NetworkManager/NetworkManager.conf"
fi
logCmd systemctl enable NetworkManager
logCmd systemctl start NetworkManager