mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-16 03:34:10 +02:00
More 3.4->4.0 stuff
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6570 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
26
Shorewall-common/diff-3.4-lib.base
Normal file
26
Shorewall-common/diff-3.4-lib.base
Normal file
@ -0,0 +1,26 @@
|
||||
--- /home/teastep/shorewall/branches/3.4/Shorewall/lib.base 2007-06-14 17:30:33.000000000 -0700
|
||||
+++ Shorewall-common/lib.base 2007-06-16 08:40:13.000000000 -0700
|
||||
@@ -28,12 +28,12 @@
|
||||
# and /usr/share/shorewall-lite/shorecap.
|
||||
#
|
||||
|
||||
-SHOREWALL_LIBVERSION=30404
|
||||
+SHOREWALL_LIBVERSION=40000
|
||||
|
||||
[ -n "${VARDIR:=/var/lib/shorewall}" ]
|
||||
[ -n "${SHAREDIR:=/usr/share/shorewall}" ]
|
||||
[ -n "${CONFDIR:=/etc/shorewall}" ]
|
||||
-SHELLSHAREDIR=/usr/share/shorewall
|
||||
+SHELLSHAREDIR=/usr/share/shorewall-shell
|
||||
PERLSHAREDIR=/usr/share/shorewall-perl
|
||||
|
||||
#
|
||||
@@ -359,6 +359,8 @@
|
||||
eval loaded=\$LIB_${1}_LOADED
|
||||
|
||||
if [ -z "$loaded" ]; then
|
||||
+ [ -f $lib ] || lib=${SHELLSHAREDIR}/lib.$1
|
||||
+
|
||||
if [ -f $lib ]; then
|
||||
progress_message "Loading library $lib..."
|
||||
. $lib
|
Reference in New Issue
Block a user