srv5# more /tmp/a.sh table="24" ipfw table $table flush for octet3 in `jot - 1 60` do for octet4 in `jot - 1 254` do echo "table $table add 192.168.$octet3.$octet4" >> /tmp/$$.txt done done ipfw /tmp/$$.txt rm -f /tmp/$$.txt effect: srv5# sh /tmp/a.sh Abort trap (core dumped) srv5# srv5# ll ipfw.core -rw------- 1 root wheel - 1,9M 11 апр 11:22 ipfw.core srv5# Tested on 8,9 i386 - core dump, amd64 - all OK 7 - all OKReceived on Sun Apr 11 2010 - 05:24:09 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC