@ -440,6 +440,7 @@ function install_raspap() {
update_system_packages
install_dependencies
patch_lokinet_service
set_runlevel_five
create_raspap_directories
common_interfaces
check_for_networkmananger
@ -35,6 +35,15 @@ function patch_lokinet_service() {
}
#Avoid race condition between Hostapd and dnsmasq
function set_runlevel_five() {
install_log "Setting Hostapd after DNSMasq init sequence"
sudo mv /etc/rc5.d/S01dnsmasq /etc/rc5.d/S02dnsmasq
sudo mv /etc/rc5.d/S01hostapd /etc/rc5.d/S03hostapd
#Remove NetworkManager and install dhcpd if required Armbian.
function check_for_networkmananger() {