mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
fix cleanup
This commit is contained in:
parent
35eb80ef4a
commit
8f6da7c103
2 changed files with 3 additions and 12 deletions
|
@ -64,14 +64,8 @@ do
|
|||
done
|
||||
|
||||
# Remove confs
|
||||
ynh_secure_remove --file="/etc/dnsmasq.$app/dhcpdv6.conf.tpl"
|
||||
ynh_secure_remove --file="/etc/dnsmasq.$app/dhcpdv6.conf"
|
||||
|
||||
ynh_secure_remove --file="/etc/dnsmasq.$app/dhcpdv4.conf.tpl"
|
||||
ynh_secure_remove --file="/etc/dnsmasq.$app/dhcpdv4.conf"
|
||||
|
||||
ynh_secure_remove --file="/etc/hostapd/$app/hostapd.conf.tpl"
|
||||
ynh_secure_remove --file="/etc/hostapd/$app/hostapd.conf"
|
||||
ynh_secure_remove --file="/etc/dnsmasq.$app/"
|
||||
ynh_secure_remove --file="/etc/hostapd/$app/"
|
||||
|
||||
#=================================================
|
||||
# CLOSE A PORT
|
||||
|
|
|
@ -123,10 +123,7 @@ 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"
|
||||
|
||||
for FILE in $(ls /etc/dnsmasq.dhcpd/*.conf 2>/dev/null); do
|
||||
ynh_secure_remove --file="$FILE"
|
||||
done
|
||||
ynh_secure_remove --file="/etc/dnsmasq.dhcpd/"
|
||||
|
||||
# Old stuff prior to 2.x
|
||||
|
||||
|
|
Loading…
Reference in a new issue