Set run level 5

pull/46/head
necro-nemsis 2 years ago
parent 2da27f3952
commit f4d9b15559

@ -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() {

Loading…
Cancel
Save