|
发表于 2005-10-16 08:26:21
|
显示全部楼层
fi = end if
&& = and
|| = or
Post by xwq_007
if [ ! -x /sbin/$IPTABLES ]; then
22 echo -n $"/sbin/$IPTABLES does not exist."; warning; echo
23 exit 0
24 fi
25
26 if lsmod 2>/dev/null | grep -q ipchains ; then
27 echo -n $"ipchains and $IPTABLES can not be used together."; warning ; echo
28 exit 0
29 fi
30
31 # Old or new modutils
32 /sbin/modprobe --version 2>&1 | grep -q module-init-tools \
33 && NEW_MODUTILS=1 \
34 || NEW_MODUTILS=0 |
|