forked from extern/shorewall_code
Merge Tuomo Soini's install.sh patch
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1384 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b106be89e2
commit
fae0730972
@ -17,3 +17,5 @@ Changes since 2.0.2
|
||||
7) Correct reporting of installation directory in install.sh.
|
||||
|
||||
8) Added the 'rejectNonSyn' standard built-in action.
|
||||
|
||||
9) Merged Tuomo Soini's patch to the install script.
|
||||
|
@ -87,11 +87,20 @@ install_file_with_backup() # $1 = source $2 = target $3 = mode
|
||||
# RUNLEVELS is the chkconfig parmeters for firewall
|
||||
# ARGS is "yes" if we've already parsed an argument
|
||||
#
|
||||
DEST="/etc/init.d"
|
||||
INIT="shorewall"
|
||||
RUNLEVELS=""
|
||||
ARGS=""
|
||||
|
||||
if [ -z "$DEST" ] ; then
|
||||
DEST="/etc/init.d"
|
||||
fi
|
||||
|
||||
if [ -z "$INIT" ] ; then
|
||||
INIT="shorewall"
|
||||
fi
|
||||
|
||||
if [ -z "$RUNLEVELS" ] ; then
|
||||
RUNLEVELS=""
|
||||
fi
|
||||
|
||||
if [ -z "$OWNER" ] ; then
|
||||
OWNER=root
|
||||
fi
|
||||
|
@ -84,3 +84,12 @@ New Features:
|
||||
|
||||
dropNotSyn net all tcp
|
||||
|
||||
4) Slackware users no longer have to modify the install.sh script
|
||||
before installation. Tuomo Soini has provided a change that allows
|
||||
the INIT and FIREWALL variables to be specified outside the script
|
||||
as in:
|
||||
|
||||
DEST=/etc/rc.d INIT=rc.firewall ./install.sh
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user