Skip to content

Commit

Permalink
Removal of white-list line from server.properties
Browse files Browse the repository at this point in the history
This will remove any line beginning with "white-list=" in the server.properties file, regardless of if ALLOW_LIST_USERS or WHITE_LIST_USERS env variables are set or not. This should resolve any issues resulting from the addition of this line from previous versions of the docker image where env variables ALLOW_LIST_USERS or WHITE_LIST_USERS were set.
  • Loading branch information
drardin authored Oct 18, 2023
1 parent 8842fe2 commit 0954b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bedrock-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ else
ALLOW_LIST=false
rm allowlist.json
fi

sed -i '/^white-list=.*/d' server.properties #Removes white-list= line from server.properties
export ALLOW_LIST

set-property --file server.properties --bulk /etc/bds-property-definitions.json
Expand Down

0 comments on commit 0954b3a

Please sign in to comment.