mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Revert "lite: Don't set the 'file' var needlessly"
This reverts commit a86ea0c00a36b2ef84238c5f654bb4c7c3f6b9b6.
This commit is contained in:
parent
8dce87e129
commit
4c03aaa0fc
@ -169,8 +169,10 @@ done
|
|||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
if [ -f ./shorewallrc ]; then
|
if [ -f ./shorewallrc ]; then
|
||||||
. ./shorewallrc || exit 1
|
. ./shorewallrc || exit 1
|
||||||
|
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