1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- domain=$(sudo yunohost app setting hotspot domain)
- sudo systemctl stop ynh-hotspot
- sudo systemctl disable ynh-hotspot
- sudo rm -f /etc/systemd/system/ynh-hotspot.service /usr/local/bin/ynh-hotspot
- sudo rm -f /tmp/.ynh-hotspot-*
- sudo yunohost firewall disallow --ipv6 UDP 547
- sudo yunohost firewall disallow UDP 67
- sudo rm -fr /etc/dnsmasq.dhcpd/
- sudo rm -f /etc/hostapd/hostapd.conf{.tpl?,}
- sudo rm -f /etc/nginx/conf.d/${domain}.d/wifiadmin.conf
- sudo rm -f /etc/php5/fpm/pool.d/wifiadmin.conf
- sudo rm -f /lib/firmware/htc-7010.fw
- sudo rm -f /lib/firmware/htc-9271.fw
- sudo systemctl restart php5-fpm
- sudo systemctl reload nginx
- sudo rm -rf /var/www/wifiadmin/
- exit 0
|