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:
parent
2b60fee9f2
commit
fe15d2e575
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Wifi Hotspot app for YunoHost
|
# Wifi Hotspot app for YunoHost
|
||||||
|
|
||||||
# Enable DNS
|
# Enable DNS resolution on wifi interface
|
||||||
interface=__WIFI_DEVICE__
|
interface=__WIFI_DEVICE__
|
||||||
|
|
|
@ -82,6 +82,7 @@ function configure_hostapd()
|
||||||
function configure_dnsmasq()
|
function configure_dnsmasq()
|
||||||
{
|
{
|
||||||
ynh_add_config --template="/etc/dnsmasq.$app/dnsmasq.conf.tpl" --destination="/etc/dnsmasq.d/$app.conf"
|
ynh_add_config --template="/etc/dnsmasq.$app/dnsmasq.conf.tpl" --destination="/etc/dnsmasq.d/$app.conf"
|
||||||
|
systemctl restart dnsmasq
|
||||||
}
|
}
|
||||||
|
|
||||||
function configure_dhcp()
|
function configure_dhcp()
|
||||||
|
|
Loading…
Add table
Reference in a new issue