Automatic network-manager removal.

pull/32/head
necro-nemesis 6 years ago
parent 108b3c0222
commit 5c2b6b834c

@ -16,4 +16,16 @@ function install_dependencies() {
sudo apt-get install lighttpd $php_package git hostapd dnsmasq vnstat resolvconf lokinet || install_error "Unable to install dependencies"
}
#Remove NetworkManager, install dhcpd, create symlink to resolvconf.
function check_for_networkmananger() {
if [ -f /etc/NetworkManager/NetworkManager.conf ]; then
sudo apt-get purge network-manager
sudo apt-get install dhcpcd5
sudo rm /etc/resolv.conf
sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
fi
}
install_raspap

Loading…
Cancel
Save