From ca78c0221c82943e51b93e3b15ed76097386b48b Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 15 Sep 2020 11:58:05 -0700 Subject: [PATCH] Don't remote ${SBINDIR}/shorewall when uninstalling Shorewall Signed-off-by: Tom Eastep --- Shorewall/uninstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Shorewall/uninstall.sh b/Shorewall/uninstall.sh index bf38c5c85..e14a2d517 100755 --- a/Shorewall/uninstall.sh +++ b/Shorewall/uninstall.sh @@ -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)