mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 15:43:30 +01:00
Fix Debian init script to use the value of OPTIONS from the defaults file.
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8478 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6c35bd9cc4
commit
0ee498f4f1
@ -36,6 +36,8 @@ Changes in 4.1.7
|
||||
|
||||
14) Fix IPSEC host entry with DYNAMIC_ZONES=Yes
|
||||
|
||||
15) Use the OPTIONS variable from /etc/default/shorewall[-lite] on Debian.
|
||||
|
||||
Changes in 4.1.6
|
||||
|
||||
1) Deprecate IMPLICIT_CONTINUE=Yes
|
||||
|
@ -59,6 +59,7 @@ not_configured () {
|
||||
if [ -f "/etc/default/shorewall" ]
|
||||
then
|
||||
. /etc/default/shorewall
|
||||
$SRWL_OPTS+="$OPTIONS"
|
||||
if [ "$startup" != "1" ]
|
||||
then
|
||||
not_configured
|
||||
@ -67,7 +68,7 @@ else
|
||||
not_configured
|
||||
fi
|
||||
|
||||
# wait an unconfigured interface
|
||||
# wait for an unconfigured interface
|
||||
wait_for_pppd () {
|
||||
if [ "$wait_interface" != "" ]
|
||||
then
|
||||
|
@ -80,6 +80,11 @@ Problems Corrected in Shorewall 4.1.8
|
||||
1) Changes to your configuration made by NULL_ROUTE_RFC1918=Yes are
|
||||
now reversed during 'shorewall stop' and 'shoreawll restart'.
|
||||
|
||||
2) The init script on Debian now reads and utilizes the value of the
|
||||
OPTIONS variable from /etc/default/shorewall[-lite]. Previously,
|
||||
the value of that variable was not passed to the shorewall[-lite]
|
||||
command.
|
||||
|
||||
Other Changes in Shoreall 4.1.8.
|
||||
|
||||
1) When using Shorewall-perl, the CEIL and RATE columns must now
|
||||
|
@ -12,13 +12,13 @@ startup=0
|
||||
# wait_interface="ppp0"
|
||||
# or
|
||||
# wait_interface="ppp0 ppp1"
|
||||
# or, if you have defined in /etc/shorewall/params
|
||||
# wait_interface=
|
||||
|
||||
#
|
||||
# Startup options -- if you specify '-f' then Shorewall will use the last saved
|
||||
# configuration if any; this is much faster than parsing the
|
||||
# configuration files.
|
||||
# Startup options
|
||||
#
|
||||
|
||||
OPTIONS="-f"
|
||||
OPTIONS=""
|
||||
|
||||
# EOF
|
||||
|
@ -66,6 +66,7 @@ fi
|
||||
if [ -f "/etc/default/shorewall-lite" ]
|
||||
then
|
||||
. /etc/default/shorewall-lite
|
||||
$SRWL_OPTS+="$OPTIONS"
|
||||
if [ "$startup" != "1" ]
|
||||
then
|
||||
not_configured
|
||||
|
Loading…
Reference in New Issue
Block a user