diff --git a/Shorewall-shell/compiler b/Shorewall-shell/compiler index c40bc80a6..bb1e197e1 100755 --- a/Shorewall-shell/compiler +++ b/Shorewall-shell/compiler @@ -5507,16 +5507,16 @@ __EOF__ save_progress_message "Activating Rules..." activate_rules - if [ -n "$ALIASES_TO_ADD" ]; then - save_command add_ip_aliases $ALIASES_TO_ADD - fi - for file in chains nat proxyarp zones; do save_command "cat > \${VARDIR}/$file $LEFTSHIFT __EOF__" cat $STATEDIR/$file >&3 save_command_unindented __EOF__ done + if [ -n "$ALIASES_TO_ADD" ]; then + save_command add_ip_aliases $ALIASES_TO_ADD + fi + cat >&3 << __EOF__ if [ \$COMMAND = restore ]; then