devuan: olny stop ufw if it was installed

This commit is contained in:
Valentin Kleibel 2022-04-06 14:47:02 +02:00
parent 0931e495eb
commit 8a57d5c480
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ if [ ."$os_codename" = ."chimaera" ]; then
fi
#remove ufw
ufw reset
ufw disable
[ -x /usr/sbin/ufw ] && ufw reset
[ -x /usr/sbin/ufw ] && ufw disable
apt-get remove -y ufw
#apt-get purge ufw