mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
Autoremove after purging
This commit is contained in:
parent
e37fa065ea
commit
7d6e9bf1e1
@ -149,7 +149,8 @@ if [[ -e /etc/openvpn/server.conf ]]; then
|
|||||||
semanage port -d -t openvpn_port_t -p $PROTOCOL $PORT
|
semanage port -d -t openvpn_port_t -p $PROTOCOL $PORT
|
||||||
fi
|
fi
|
||||||
if [[ "$OS" = 'debian' ]]; then
|
if [[ "$OS" = 'debian' ]]; then
|
||||||
apt remove --purge openvpn stunnel4 -y
|
apt purge openvpn stunnel4 -y
|
||||||
|
apt autoremove --purge -y
|
||||||
else
|
else
|
||||||
yum remove openvpn stunnel4 -y
|
yum remove openvpn stunnel4 -y
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user