1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-19 17:57:22 +01:00
fwbuilder/test/pf/run-clusters.all
Vadim Kurland d6d0dd0e41 * OSConfigurator_bsd.cpp (OSConfigurator_bsd::configureInterfaces):
New feature: generated script adds and removes CARP interfaces
incrementally. This means it is not going to run ifconfig command
to create carp interface if it is already there and will run
"ifconfig carp1 destroy" command if interface carp1 has been
removed in fwbuilder GUI to delete it on the firewall.
2010-02-14 06:16:44 +00:00

21 lines
507 B
Bash
Executable File

#!/bin/sh
#XMLFILE="objects-for-regression-tests.fwb"
#fwbedit list -f $XMLFILE -o /User/Firewalls -c -F%name% | \
# sort | while read fwobj
#do
# echo "echo"
# echo "echo \"============================ $fwobj\""
# echo "fwb_pf -v -f $XMLFILE -xt $fwobj"
#done
XMLFILE="cluster-tests.fwb"
fwbedit list -f $XMLFILE -o /User/Clusters -c -F%name% | \
sort | while read fwobj
do
echo "echo"
echo "echo \"============================ $fwobj\""
echo "fwb_pf -v -f $XMLFILE -xt -xc $fwobj"
done