From 285c31ad1a88b68461d72ceb5bf8a081a893ff5e Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Sat, 18 Jan 2020 08:39:04 -0600 Subject: [PATCH] remove dhcpcd5 causing two IP addresses on raspbian --- install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install b/install index ff6ea6d..9ef58bd 100755 --- a/install +++ b/install @@ -288,12 +288,12 @@ cat << EOF > ${ioniceCron} EOF chmod 600 ${ioniceCron} -# remove networkmanager and configure networkd +# remove networkmanager and dhcpcd5 then configure networkd if [ ${version} -gt 4 ]; then nic="eth0" if grep -qw "${nic}" /proc/net/dev; then - echo "Removing network-manager ..." - apt-get -y --autoremove purge network-manager + echo "Removing network-manager and dhcpcd5 ..." + apt-get -y --autoremove purge network-manager dhcpcd5 echo "Enable and start systemd-resolved ..." systemctl enable systemd-resolved