From 0954b3a951d83167d39e8d61793319fa3eef89e8 Mon Sep 17 00:00:00 2001 From: drardin <81466808+drardin@users.noreply.github.com> Date: Wed, 18 Oct 2023 08:17:35 -0600 Subject: [PATCH] Removal of white-list line from server.properties 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. --- bedrock-entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bedrock-entry.sh b/bedrock-entry.sh index 8dff601..6004692 100755 --- a/bedrock-entry.sh +++ b/bedrock-entry.sh @@ -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