mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-27 16:49:05 +01:00
Resolve SHOREWALL_DIR
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5081 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
1392919b64
commit
4a03728092
@ -1852,7 +1852,10 @@ do_initialize() {
|
||||
|
||||
[ -f $VERSION_FILE ] && VERSION=$(cat $VERSION_FILE)
|
||||
|
||||
[ -n "$SHOREWALL_DIR" ] && CONFIG_PATH=$SHOREWALL_DIR:$CONFIG_PATH
|
||||
if [ -n "$SHOREWALL_DIR" ]; then
|
||||
SHOREWALL_DIR=(resolve_file $SHOREWALL_DIR)
|
||||
CONFIG_PATH=$SHOREWALL_DIR:$CONFIG_PATH
|
||||
fi
|
||||
|
||||
run_user_exit params
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user