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

restart dnsmasq to apply config change

This commit is contained in:
HgO 2023-09-22 17:41:44 +02:00
parent 2b60fee9f2
commit fe15d2e575
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# Wifi Hotspot app for YunoHost
# Enable DNS
# Enable DNS resolution on wifi interface
interface=__WIFI_DEVICE__

View file

@ -82,6 +82,7 @@ function configure_hostapd()
function configure_dnsmasq()
{
ynh_add_config --template="/etc/dnsmasq.$app/dnsmasq.conf.tpl" --destination="/etc/dnsmasq.d/$app.conf"
systemctl restart dnsmasq
}
function configure_dhcp()