From b840bac031bd2e60140753d59bd69486748c9fb0 Mon Sep 17 00:00:00 2001 From: HgO Date: Mon, 21 Aug 2023 23:12:27 +0200 Subject: [PATCH] delete legacy files only when multissid detected --- scripts/upgrade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index e656456..c8b1a63 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -128,12 +128,12 @@ fi if [[ -n ${multissid} ]]; then ynh_app_setting_delete --app=$app --key=multissid -fi -ynh_secure_remove --file="/etc/hostapd/hostapd.conf" -ynh_secure_remove --file="/etc/hostapd/hostapd.base.conf" -ynh_secure_remove --file="/etc/hostapd/hostapd.accesspoint.conf" -ynh_secure_remove --file="/etc/dnsmasq.dhcpd/" + ynh_secure_remove --file="/etc/hostapd/hostapd.conf" + ynh_secure_remove --file="/etc/hostapd/hostapd.base.conf" + ynh_secure_remove --file="/etc/hostapd/hostapd.accesspoint.conf" + ynh_secure_remove --file="/etc/dnsmasq.dhcpd/" +fi # Old stuff prior to 2.x