Replace NetworkManager with DHCPCD (Armbian)

main
necro-nemesis 4 years ago committed by GitHub
parent 846c5ceb0a
commit e09aa378f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,6 +60,18 @@ function update_system_packages() {
install_error "No function definition for update_system_packages" install_error "No function definition for update_system_packages"
} }
# Replaces NetworkManger with DHCPCD (Armbian install)
function check_for_networkmananger() {
install_log "Checking for NetworkManager"
echo "Checking for Network Manager"
if [ -f /lib/systemd/system/network-manager.service ]; then
echo "Network Manager found. Replacing with DHCPCD"
sudo apt-get -y purge network-manager
sudo apt-get -y install dhcpcd5
fi
}
# Installs additional dependencies using system package manager # Installs additional dependencies using system package manager
function install_dependencies() { function install_dependencies() {
# OVERLOAD THIS # OVERLOAD THIS

Loading…
Cancel
Save