mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-28 21:51:46 +02:00
lite: Add 'file' var and set path of .shorewallrc
Signed-off-by: Matt Darfeuille <matdarf@gmail.com> Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
1cb32e3127
commit
2ec17ce608
@ -172,6 +172,7 @@ if [ $# -eq 0 ]; then
|
|||||||
file=./shorewallrc
|
file=./shorewallrc
|
||||||
elif [ -f ~/.shorewallrc ]; then
|
elif [ -f ~/.shorewallrc ]; then
|
||||||
. ~/.shorewallrc
|
. ~/.shorewallrc
|
||||||
|
file=~/.shorewallrc
|
||||||
elif [ -f /usr/share/shorewall/shorewallrc ]; then
|
elif [ -f /usr/share/shorewall/shorewallrc ]; then
|
||||||
. /usr/share/shorewall/shorewallrc
|
. /usr/share/shorewall/shorewallrc
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user