From 1e245a4832b2fb44df2fc0df7de670c00f7630c8 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 15 Aug 2013 16:29:41 -0700 Subject: [PATCH] Correct syntax errors in the -lite uninstaller Signed-off-by: Tom Eastep --- Shorewall-lite/uninstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-lite/uninstall.sh b/Shorewall-lite/uninstall.sh index 624ac1a13..03565212e 100755 --- a/Shorewall-lite/uninstall.sh +++ b/Shorewall-lite/uninstall.sh @@ -118,14 +118,14 @@ fi if [ -L ${SHAREDIR}/shorewall-lite/init ]; then FIREWALL=$(readlink -m -q ${SHAREDIR}/shorewall-lite/init) -elIF [ -n "$INITFILE" ]; then +elif [ -n "$INITFILE" ]; then FIREWALL=${INITDIR}/${INITFILE} fi if [ -f "$FIREWALL" ]; then if mywhich updaterc.d ; then updaterc.d shorewall-lite remove - elif if mywhich insserv ; then + elif mywhich insserv ; then insserv -r $FIREWALL elif [ mywhich chkconfig ; then chkconfig --del $(basename $FIREWALL)