|
|||||
| | |||||
#!/bin/sh
#
# Startup script to implement /etc/sysconfig/iptables pre-defined rules.
#
# chkconfig: 2345 08 92
#
# description: Automates a packet filtering firewall with iptables.
#
# by bero based on the ipchains script:
# Script Author: Joshua Jensen
# -- hacked up by gafton with help from notting
# modified by Anton Altaparmakov
# modified by Nils Philippsen
#
# config: /etc/sysconfig/iptables
# Source 'em up
. /etc/init.d/functions
IPTABLES_CONFIG=/etc/sysconfig/iptables
if [ ! -x /sbin/iptables ]; then
exit 0
fi
# ????????????????????
KERNELMAJ=`uname -r | sed -e 's,\..*,,'`
KERNELMIN=`uname -r | sed -e 's,[\.]\.,,' -e 's,\..,,'`
| Leave a Reply |