hotspot5ghz_ynh/scripts/prerequisites
2018-05-10 14:15:18 +02:00

9 lines
217 B
Plaintext

# Source me
# Check if dnsmasq is active
systemctl is-active dnsmasq &> /dev/null
if [[ $? -ne 0 ]]; then
ynh_die "You need to enable dnsmasq instead of bind9 (apt-get remove bind9 && systemctl start dnsmasq)"
fi