Don't remote ${SBINDIR}/shorewall when uninstalling Shorewall

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-09-15 11:58:05 -07:00
parent e4c2122532
commit ca78c0221c
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -149,7 +149,9 @@ if [ $configure -eq 1 ]; then
fi
fi
remove_file ${SBINDIR}/$PRODUCT
if [ $PRODUCT = shorewall6 ]; then
remove_file ${SBINDIR}/shorewall6
fi
if [ -h ${SHAREDIR}/$PRODUCT/init ]; then
FIREWALL=$(readlink -m -q ${SHAREDIR}/$PRODUCT/init)