发布时间:2013-04-10 05:04:36
#!/bin/bashiptables -Fiptables -X/etc/init.d/iptables savechkconfig tftp onchkconfig xinetd ona=$(ifconfig eth0 |sed "s/.*addr://g" |sed "s/Bcast.*//g" |sed -n "2p" |awk -F. '{print $1"."$2"."$3}')b=$(ifconfig eth0 |sed "s/.*addr://g" |sed "s/Bcast.*//g" |sed -n "2p" |awk -F. '{print $3"."$2".........【阅读全文】