mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-25 15:48:56 +01:00
Update config files for /etc/shorewall/routes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2122 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
19c72cb955
commit
c6584f26f2
@ -408,6 +408,16 @@ else
|
||||
echo "Blacklist file installed as ${PREFIX}/etc/shorewall/blacklist"
|
||||
fi
|
||||
#
|
||||
# Install the Routes file
|
||||
#
|
||||
if [ -f ${PREFIX}/etc/shorewall/routes ]; then
|
||||
backup_file /etc/shorewall/routes
|
||||
else
|
||||
run_install $OWNERSHIP -m 0600 routes ${PREFIX}/etc/shorewall/routes
|
||||
echo
|
||||
echo "Routes file installed as ${PREFIX}/etc/shorewall/blacklist"
|
||||
fi
|
||||
#
|
||||
# Backup and remove the whitelist file
|
||||
#
|
||||
if [ -f ${PREFIX}/etc/shorewall/whitelist ]; then
|
||||
|
@ -95,6 +95,7 @@ fi
|
||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/actions
|
||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/continue
|
||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/started
|
||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/routes
|
||||
|
||||
%attr(0544,root,root) /sbin/shorewall
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user