Expand NM test

pull/43/head
necro-nemsis 2 years ago
parent fe1fc560df
commit 6e5fcb6eb9

@ -24,7 +24,7 @@ function install_dependencies() {
function check_for_networkmananger() {
install_log "Checking for NetworkManager"
echo "Checking for Network Manager"
if [ -f /lib/systemd/system/network-manager.service ]; then
if [ -f /lib/systemd/system/network-manager.service ] || [ -f /lib/systemd/system/NetworkManager.service]; then
echo "Network Manager found. Replacing with DHCPCD"
sudo apt-get -y purge network-manager
sudo apt-get -y install dhcpcd5

Loading…
Cancel
Save