Remove verify_os_version()

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4520 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-09-04 18:44:10 +00:00
parent 8f4664cc3b
commit 661c25667b

View File

@ -503,25 +503,6 @@ delete_nat() {
[ -d ${VARDIR} ] && touch ${VARDIR}/nat
}
#
# Verify that kernel has netfilter support
#
verify_os_version() {
osversion=$(uname -r)
case $osversion in
2.4.*|2.5.*|2.6.*)
;;
*)
startup_error "Shorewall version $VERSION does not work with kernel version $osversion"
;;
esac
[ $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"
}
#
# Check for disabled startup
#