mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 05:33:30 +03:00
Autoremove after purging
This commit is contained in:
parent
e37fa065ea
commit
7d6e9bf1e1
1 changed files with 2 additions and 1 deletions
|
@ -149,7 +149,8 @@ if [[ -e /etc/openvpn/server.conf ]]; then
|
|||
semanage port -d -t openvpn_port_t -p $PROTOCOL $PORT
|
||||
fi
|
||||
if [[ "$OS" = 'debian' ]]; then
|
||||
apt remove --purge openvpn stunnel4 -y
|
||||
apt purge openvpn stunnel4 -y
|
||||
apt autoremove --purge -y
|
||||
else
|
||||
yum remove openvpn stunnel4 -y
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue