Some cleanup of Shorewall Lite

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3978 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-06-03 17:04:45 +00:00
parent b6a6195aa0
commit ca017e532b
3 changed files with 11 additions and 9 deletions

View File

@ -266,6 +266,12 @@ if [ -n "$ARCHLINUX" ] ; then
sed -e 's!LOGFILE=/var/log/messages!LOGFILE=/var/log/messages.log!' -i ${PREFIX}/etc/shorewall/shorewall.conf
fi
#
# Install the default config path file
#
install_file configpath ${PREFIX}/usr/share/shorewall/configpath 0644
echo "Default config path file installed as ${PREFIX}/usr/share/shorewall/configpath"
#
# Install the functions file
#

View File

@ -30,23 +30,18 @@ directory' for each firewall system. You copy the contents of
d) On each firewall system, you run:
/usr/share/shorewall/shorecap > capabilities
The 'capabilities' file is then copied to the corresponding
configuration directory on the administrative system.
scp capabilities <admin system>:<this system's config dir>
e) On the administrative system, for each firewall system you:
1) modify the files in the corresponding configuration
directory appropriately.
2) As a non-root user:
2) (this may be done as a non-root user)
cd <configuration directory>
/sbin/shorewall compile . firewall
Then copy the compiled 'firewall' script to
/usr/share/shorewall/firewall on the corresponding firewall
system.
/sbin/shorewall compile -e . firewall
scp firewall root@<firewall system>:/usr/share/shorewall/
3) On the firewall system, 'shorewall start'.

View File

@ -70,6 +70,7 @@ fi
%attr(0555,root,root) /sbin/shorewall
%attr(0644,root,root) /usr/share/shorewall/version
%attr(0644,root,root) /usr/share/shorewall/configpath
%attr(0444,root,root) /usr/share/shorewall/functions
%attr(0544,root,root) /usr/share/shorewall/shorecap
%attr(0544,root,root) /usr/share/shorewall/help