Patch lokinet.service for dnsmasq

pull/43/head
necro-nemesis 2 years ago committed by GitHub
parent 41fc43cfad
commit 64e4e60c73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,6 +19,15 @@ function install_dependencies() {
sudo yes | apt-get install whois lighttpd $php_package git resolvconf hostapd dnsmasq vnstat libqmi-utils udhcpc lokinet || install_error "Unable to install dependencies"
}
#Patch Lokinet Service Wants/After DNSMasq
function patch_lokinet_service() {
install_log "Patching Lokinet Service"
sed -i '/^After=network-online.target/a Wants=dnsmasq.service \nAfter=dnsmasq.service' /lib/systemd/system/lokinet.service
sudo systemctl daemon-reload
}
#Remove NetworkManager and install dhcpd if required Armbian.
function check_for_networkmananger() {

Loading…
Cancel
Save