From 3e2bd872ce3b16e0c71c6d31c36eef0468da30eb Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 5 Oct 2023 19:05:13 +0200 Subject: [PATCH] Cleanup/propagate stuff to config panel controller as well --- scripts/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 1283d6b..ad92a84 100644 --- a/scripts/config +++ b/scripts/config @@ -213,12 +213,13 @@ ynh_app_config_apply() { else ynh_print_info --message="Cleanup hotspot config files" 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/dhcpdv6.conf" systemctl restart dnsmasq fi + + yunohost tools regen-conf dnsmasq } ynh_app_config_run $1