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

delete legacy files only when multissid detected

This commit is contained in:
HgO 2023-08-21 23:12:27 +02:00
parent 3e0b11f919
commit b840bac031

View file

@ -128,12 +128,12 @@ fi
if [[ -n ${multissid} ]]; then if [[ -n ${multissid} ]]; then
ynh_app_setting_delete --app=$app --key=multissid ynh_app_setting_delete --app=$app --key=multissid
fi
ynh_secure_remove --file="/etc/hostapd/hostapd.conf" ynh_secure_remove --file="/etc/hostapd/hostapd.conf"
ynh_secure_remove --file="/etc/hostapd/hostapd.base.conf" ynh_secure_remove --file="/etc/hostapd/hostapd.base.conf"
ynh_secure_remove --file="/etc/hostapd/hostapd.accesspoint.conf" ynh_secure_remove --file="/etc/hostapd/hostapd.accesspoint.conf"
ynh_secure_remove --file="/etc/dnsmasq.dhcpd/" ynh_secure_remove --file="/etc/dnsmasq.dhcpd/"
fi
# Old stuff prior to 2.x # Old stuff prior to 2.x