Correct -lite installer and uninstaller

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-10-03 16:41:27 -07:00
parent 8a5e71a56f
commit f2cc68b93b
2 changed files with 5 additions and 2 deletions

View File

@ -117,7 +117,10 @@ finished=0
configure=1
while [ $finished -eq 0 ] ; do
case "$1" in
option=$1
case "$option" in
-*)
option=${option#-}

View File

@ -127,7 +127,7 @@ if [ -f "$FIREWALL" ]; then
updaterc.d shorewall-lite remove
elif mywhich insserv ; then
insserv -r $FIREWALL
elif [ mywhich chkconfig ; then
elif mywhich chkconfig ; then
chkconfig --del $(basename $FIREWALL)
elif mywhich systemctl ; then
systemctl disable shorewall-lite