Only check 'ipchains' module on start

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@498 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-03-11 15:45:29 +00:00
parent 8918a72c13
commit 8556250875

View File

@ -3015,7 +3015,7 @@ verify_os_version() {
;;
esac
[ -n "`lsmod 2> /dev/null | grep '^ipchains'`" ] && \
[ $command = start -a -n "`lsmod 2> /dev/null | grep '^ipchains'`" ] && \
startup_error "Shorewall can't start with the ipchains kernel module loaded - see FAQ #8"
}