1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00
hotspot_ynh/scripts/prerequisites

9 lines
227 B
Text
Raw Normal View History

# Source me
# Check if dnsmasq is active
systemctl is-active dnsmasq &> /dev/null
if [[ $? -ne 0 ]]; then
2020-05-31 05:33:17 +02:00
ynh_die --message="You need to enable dnsmasq instead of bind9 (apt-get remove bind9 && systemctl start dnsmasq)"
fi