Correct a couple of errors

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-10-04 09:11:29 -07:00
parent 70bb9147cd
commit 2fce05b3ab
2 changed files with 8 additions and 6 deletions

View File

@ -92,7 +92,6 @@ while [ $finished -eq 0 ]; do
echo "$Product Firewall Installer Version $VERSION"
exit 0
;;
;;
n*)
configure=0
option=${option#n}
@ -155,8 +154,10 @@ echo "Uninstalling Shorewall Lite $VERSION"
[ -n "$SANDBOX" ] && configure=0
if qt iptables -L shorewall -n && [ ! -f ${SBINDIR}/shorewall ]; then
shorewall-lite clear
if [ $configure -eq 1 ]; then
if qt iptables -L shorewall -n && [ ! -f ${SBINDIR}/shorewall ]; then
shorewall-lite clear
fi
fi
if [ -L ${SHAREDIR}/shorewall-lite/init ]; then

View File

@ -92,7 +92,6 @@ while [ $finished -eq 0 ]; do
echo "$Product Firewall Installer Version $VERSION"
exit 0
;;
;;
n*)
configure=0
option=${option#n}
@ -154,8 +153,10 @@ echo "Uninstalling shorewall $VERSION"
[ -n "$SANDBOX" ] && configure=0
if qt iptables -L shorewall -n && [ ! -f ${SBINDIR}/shorewall-lite ]; then
shorewall clear
if [ $configure -eq 1 ]; then
if qt iptables -L shorewall -n && [ ! -f ${SBINDIR}/shorewall-lite ]; then
shorewall clear
fi
fi
rm -f ${SBINDIR}/shorewall