mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 18:21:27 +02:00
Fix for missing 'init' file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5172 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
46cffe3dd3
commit
8558d49676
@ -2,6 +2,8 @@ Changes in 3.4.0 Beta 2
|
||||
|
||||
1) Fix for empty blacklist file.
|
||||
|
||||
2) Don't copy files from /usr/share/shorewall into the compiled script.
|
||||
|
||||
Changes in 3.4.0 Beta 1
|
||||
|
||||
1) Correct handling of masq file.
|
||||
|
@ -117,10 +117,20 @@ append_file() # $1 = File Name
|
||||
{
|
||||
local user_exit=$(find_file $1)
|
||||
|
||||
if [ -f $user_exit ]; then
|
||||
save_progress_message "Processing $user_exit ..."
|
||||
indent $user_exit >&3
|
||||
fi
|
||||
case $user_exit in
|
||||
$SHAREDIR/*)
|
||||
#
|
||||
# Don't copy files from /usr/share/shorewall into the compiled script
|
||||
#
|
||||
;;
|
||||
*)
|
||||
if [ -f $user_exit ]; then
|
||||
save_progress_message "Processing $user_exit ..."
|
||||
indent $user_exit >&3
|
||||
save_command
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -35,6 +35,11 @@ Problems Corrected in 3.4.0 Beta 2
|
||||
script contained a syntax error (the function load_blacklist() was
|
||||
empty).
|
||||
|
||||
2) If the file /etc/shorewall/init did not exist, then the compiler
|
||||
would incorrectly copy /usr/share/shorewall/init into the
|
||||
compiled script. /usr/share/shorewall/init is a symbolic link
|
||||
to the Shorewall init script (usually /etc/init.d/shorewall).
|
||||
|
||||
Migration Considerations:
|
||||
|
||||
1) Shorewall supports the notion of "default actions". A default
|
||||
|
Loading…
x
Reference in New Issue
Block a user