mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Correct default setting of CONFDIR when .shorewallrc is not found
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
416f854311
commit
0d19c99699
@ -39,7 +39,7 @@ elif - -f ${SHOREWALLRC_HOME}/.shorewallrc; then
|
||||
. ${SHOREWALLRC_HOME}/.shorewallrc || exit 1
|
||||
else
|
||||
SHAREDIR=/usr/share
|
||||
CONFDIR=${CONFDIR}
|
||||
CONFDIR=/etc
|
||||
SBINDIR=/sbin
|
||||
VARDIR=/var/lib
|
||||
LIBEXECDIR=/usr/share
|
||||
|
@ -39,7 +39,7 @@ elif - -f ${SHOREAWLLRC_HOME}/.shorewallrc; then
|
||||
. ${SHOREWALLRC_HOME}/.shorewallrc || exit 1
|
||||
else
|
||||
SHAREDIR=/usr/share
|
||||
CONFDIR=${CONFDIR}
|
||||
CONFDIR=/etc
|
||||
SBINDIR=/sbin
|
||||
VARDIR=/var/lib
|
||||
LIBEXECDIR=/usr/share
|
||||
|
@ -39,7 +39,7 @@ elif - -f ${SHOREWALLRC_HOME}/.shorewallrc; then
|
||||
. ${SHOREWALLRC_HOME}/.shorewallrc || exit 1
|
||||
else
|
||||
SHAREDIR=/usr/share
|
||||
CONFDIR=${CONFDIR}
|
||||
CONFDIR=/etc
|
||||
SBINDIR=/sbin
|
||||
VARDIR=/var/lib
|
||||
LIBEXECDIR=/usr/share
|
||||
|
@ -31,7 +31,7 @@ if [ -f ~/.shorewallrc ]; then
|
||||
. ~/.shorewallrc || exit 1
|
||||
else
|
||||
SHAREDIR=/usr/share
|
||||
CONFDIR=${CONFDIR}
|
||||
CONFDIR=/etc
|
||||
SBINDIR=/sbin
|
||||
VARDIR=/var/lib
|
||||
LIBEXECDIR=/usr/share
|
||||
|
Loading…
Reference in New Issue
Block a user