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:
parent
3e0b11f919
commit
b840bac031
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue