Add SHARED_CONFIG option to shorewallrc

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-07-07 08:25:33 -07:00
parent 1ad796ba5d
commit 4e978b687d
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10
12 changed files with 171 additions and 159 deletions

View File

@ -236,7 +236,8 @@ for on in \
ANNOTATED \
VARLIB \
VARDIR \
DEFAULT_PAGER
DEFAULT_PAGER \
SHARED_CONFIG
do
echo "$on=${options[${on}]}"
echo "$on=${options[${on}]}" >> shorewallrc

View File

@ -210,7 +210,8 @@ for ( qw/ HOST
ANNOTATED
VARLIB
VARDIR
DEFAULT_PAGER / ) {
DEFAULT_PAGER
SHARED_CONFIG / ) {
my $val = $options{$_} || '';

View File

@ -20,3 +20,4 @@ SYSCONFDIR= #Unused on OS X
SPARSE=Yes #Only install $PRODUCT/$PRODUCT.conf in $CONFDIR.
VARLIB=/var/lib #Unused on OS X
DEFAULT_PAGER= #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -21,3 +21,4 @@ SPARSE= #If non-empty, only install $PRODUCT/$PRO
VARLIB=/var/lib #Directory where product variable data is stored.
VARDIR=${VARLIB}/$PRODUCT #Directory where product variable data is stored.
DEFAULT_PAGER= #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -20,3 +20,4 @@ SYSCONFDIR= #Unused on Cygwin
SPARSE=Yes #Only install $PRODUCT/$PRODUCT.conf in $CONFDIR.
VARLIB=/var/lib #Unused on Cygwin
DEFAULT_PAGER= #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -22,3 +22,4 @@ SPARSE=Yes #If non-empty, only install $PRODUCT/$PRODUCT.conf in $CONFDIR
VARLIB=/var/lib #Directory where product variable data is stored.
VARDIR=${VARLIB}/$PRODUCT #Directory where product variable data is stored.
DEFAULT_PAGER=/usr/bin/less #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -22,3 +22,4 @@ SPARSE=Yes #If non-empty, only install $PRODUCT/$PR
VARLIB=/var/lib #Directory where product variable data is stored.
VARDIR=${VARLIB}/$PRODUCT #Directory where product variable data is stored.
DEFAULT_PAGER=/usr/bin/less #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -22,3 +22,4 @@ SPARSE= #If non-empty, only install $PRODUCT/$PR
VARLIB=/var/lib #Directory where product variable data is stored.
VARDIR=${VARLIB}/$PRODUCT #Directory where product variable data is stored.
DEFAULT_PAGER= #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -22,3 +22,4 @@ SPARSE= #If non-empty, only install $PRODUCT/$PR
VARLIB=/lib #Directory where product variable data is stored.
VARDIR=${VARLIB}/$PRODUCT #Directory where product variable data is stored.
DEFAULT_PAGER= #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -22,3 +22,4 @@ SPARSE= #If non-empty, only install $PRODUCT/$PR
VARLIB=/var/lib #Directory where product variable data is stored.
VARDIR=${VARLIB}/$PRODUCT #Directory where product variable data is stored.
DEFAULT_PAGER= #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -23,3 +23,4 @@ ANNOTATED= #If non-empty, install annotated conf
VARLIB=/var/lib #Directory where product variable data is stored.
VARDIR=${VARLIB}/$PRODUCT #Directory where product variable data is stored.
DEFAULT_PAGER= #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6

View File

@ -22,3 +22,4 @@ SPARSE= #If non-empty, only instal
VARLIB=/var/lib #Directory where persistent product data is stored.
VARDIR=${VARLIB}/$PRODUCT #Directory where product variable data is stored.
DEFAULT_PAGER= #Pager to use if none specified in shorewall[6].conf
SHARED_CONFIG= #Configuration serves both Shorewall and Shorewall6