mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
Cleanup/propagate stuff to config panel controller as well
This commit is contained in:
parent
b80ee8b347
commit
3e2bd872ce
1 changed files with 2 additions and 1 deletions
|
@ -213,12 +213,13 @@ ynh_app_config_apply() {
|
||||||
else
|
else
|
||||||
ynh_print_info --message="Cleanup hotspot config files"
|
ynh_print_info --message="Cleanup hotspot config files"
|
||||||
ynh_secure_remove --file="/etc/hostapd/$app/hostapd.conf"
|
ynh_secure_remove --file="/etc/hostapd/$app/hostapd.conf"
|
||||||
ynh_secure_remove --file="/etc/dnsmasq.d/$app.conf"
|
|
||||||
ynh_secure_remove --file="/etc/dnsmasq.$app/dhcpdv4.conf"
|
ynh_secure_remove --file="/etc/dnsmasq.$app/dhcpdv4.conf"
|
||||||
ynh_secure_remove --file="/etc/dnsmasq.$app/dhcpdv6.conf"
|
ynh_secure_remove --file="/etc/dnsmasq.$app/dhcpdv6.conf"
|
||||||
|
|
||||||
systemctl restart dnsmasq
|
systemctl restart dnsmasq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
yunohost tools regen-conf dnsmasq
|
||||||
}
|
}
|
||||||
|
|
||||||
ynh_app_config_run $1
|
ynh_app_config_run $1
|
||||||
|
|
Loading…
Add table
Reference in a new issue