12345678910111213141516171819 |
- #!/bin/bash
- # The End
- sudo yunohost service stop ynh-vpnclient
- sudo yunohost service remove ynh-vpnclient
- sudo rm -f /etc/init.d/ynh-vpnclient
- # Remove confs
- sudo rm -f /etc/openvpn/client.conf*
- # Remove certificates
- sudo rm -rf /etc/openvpn/keys/
- # Remove packets
- # The yunohost policy is currently to not uninstall packets (dependency problems)
- ## sudo apt-get --assume-yes --force-yes remove openvpn
- ## sudo apt-get --assume-yes --force-yes remove sipcalc
- exit 0
|