|
|
|
|
@ -94,7 +94,12 @@ source ./scripts/subinstallers/platform.sh
@@ -94,7 +94,12 @@ source ./scripts/subinstallers/platform.sh
|
|
|
|
|
echo "Setting up firewall (iptables)" |
|
|
|
|
if [ ! -f "/etc/iptables/rules.v4" ]; then |
|
|
|
|
echo "Setting iptables rules..." |
|
|
|
|
./scripts/subinstallers/iptables.sh |
|
|
|
|
|
|
|
|
|
if [ -z "${MISTBORN_TEST_SKIP_IPTABLES}" ]; then |
|
|
|
|
./scripts/subinstallers/iptables.sh |
|
|
|
|
else |
|
|
|
|
echo "Test conditions: not running iptables.sh" |
|
|
|
|
fi |
|
|
|
|
else |
|
|
|
|
echo "iptables rules exist. Leaving alone." |
|
|
|
|
fi |
|
|
|
|
|