Add continue file to install.sh and shorewall.spec

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2030 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-04-08 14:38:46 +00:00
parent d6aba6c845
commit 1180175379
2 changed files with 10 additions and 0 deletions

View File

@ -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
#

View File

@ -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