From d6aba6c845a14c8637bbd139953f6f1d6fa2ca58 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 8 Apr 2005 14:26:00 +0000 Subject: [PATCH] Add continue file to install.sh git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2028 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- STABLE2/install.sh | 9 +++++++++ STABLE2/shorewall.spec | 1 + 2 files changed, 10 insertions(+) diff --git a/STABLE2/install.sh b/STABLE2/install.sh index 5243224bc..8a22cc08a 100755 --- a/STABLE2/install.sh +++ b/STABLE2/install.sh @@ -493,6 +493,15 @@ else echo "Accounting file installed as ${PREFIX}/etc/shorewall/accounting" fi # +# Install the Continue file +# +if [ -f ${PREFIX}/etc/shorewall/continue ]; then + backup_file /etc/shorewall/continue +else + run_install -o $OWNER -g $GROUP -m 0600 continue ${PREFIX}/etc/shorewall/continue + echo + echo "Continue file installed as ${PREFIX}/etc/shorewall/continue" +fi # # Install the Standard Actions file # diff --git a/STABLE2/shorewall.spec b/STABLE2/shorewall.spec index e8ec68bd1..7030dbd51 100644 --- a/STABLE2/shorewall.spec +++ b/STABLE2/shorewall.spec @@ -93,6 +93,7 @@ fi %attr(0600,root,root) %config(noreplace) /etc/shorewall/ecn %attr(0600,root,root) %config(noreplace) /etc/shorewall/accounting %attr(0600,root,root) %config(noreplace) /etc/shorewall/actions +%attr(0600,root,root) %config(noreplace) /etc/shorewall/continue %attr(0544,root,root) /sbin/shorewall