mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 03:59:16 +01:00
Document use of CONFDIR in /usr/share/shorewall/configpath
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4124 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6619bd32d8
commit
2cee4cb596
@ -8639,7 +8639,7 @@ do_initialize() {
|
|||||||
|
|
||||||
SHAREDIR=/usr/share/shorewall
|
SHAREDIR=/usr/share/shorewall
|
||||||
VARDIR=/var/lib/shorewall
|
VARDIR=/var/lib/shorewall
|
||||||
[ -z "$EXPORT" ] && CONFDIR=/etc/shorewall || CONFDIR=/usr/share/shorewall/configfiles
|
[ -z "$EXPORT" ] && CONFDIR=/etc/shorewall || CONFDIR=${SHAREDIR}/configfiles
|
||||||
|
|
||||||
FUNCTIONS=${SHAREDIR}/functions
|
FUNCTIONS=${SHAREDIR}/functions
|
||||||
|
|
||||||
|
@ -3,5 +3,11 @@
|
|||||||
#
|
#
|
||||||
# /usr/share/shorewall/configpath
|
# /usr/share/shorewall/configpath
|
||||||
#
|
#
|
||||||
|
# Note to maintainers.
|
||||||
|
#
|
||||||
|
# The CONFDIR variable is normally set to /etc/shorewall but when
|
||||||
|
# the command is "compile -e" then CONFDIR is set to
|
||||||
|
# /usr/share/shorewall/configfiles/. This prevents 'compile -e'
|
||||||
|
# from trying to use configuration information from /etc/shorewall.
|
||||||
|
|
||||||
CONFIG_PATH=${CONFDIR}:/usr/share/shorewall
|
CONFIG_PATH=${CONFDIR}:/usr/share/shorewall
|
||||||
|
Loading…
Reference in New Issue
Block a user