From 1cb43c539ca51c5d22d5246b2882444b425c38d9 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 16 Jun 2002 17:56:45 +0000 Subject: [PATCH] Move the 'save' file to /var/lib/shorewall git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@76 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 4 ++-- Shorewall/shorewall | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index af02aa821..cf37a9ff4 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -2537,7 +2537,7 @@ initialize_netfilter () { createchain reject no createchain dynamic no - if [ -f /etc/shorewall/save ]; then + if [ -f /var/lib/shorewall/save ]; then echo "Restoring dynamic rules..." while read target ignore1 ignore2 address rest; do @@ -2548,7 +2548,7 @@ initialize_netfilter () { *) ;; esac - done < /etc/shorewall/save + done < /var/lib/shorewall/save fi echo "Creating input Chains..." diff --git a/Shorewall/shorewall b/Shorewall/shorewall index 8fde89db2..79e8290af 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -684,7 +684,7 @@ case "$1" in [ $# -ne 1 ] && usage 1 mutex_on if qt iptables -L shorewall -n; then - if iptables -L dynamic -n > /etc/shorewall/save; then + if iptables -L dynamic -n > /var/lib/shorewall/save; then echo "Dynamic Rules Saved" else echo "Error Saving the Dynamic Rules"