mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 02:37:16 +01:00
insert duplicate IP addresses into the list of the results. Now making sure ip addresses in the result are unique.
11 lines
227 B
Bash
Executable File
11 lines
227 B
Bash
Executable File
#!/bin/sh
|
|
|
|
XMLFILE=$1
|
|
|
|
fwbedit list -f $XMLFILE -o /User/Firewalls -c -F%name% | sort | while read fwobj; do
|
|
echo "echo"
|
|
echo "echo \"============================ $fwobj\""
|
|
echo "fwb_ipfw -v -f $XMLFILE -xt $fwobj"
|
|
done
|
|
|