From 6fe90242825eff72f72d86e6211e1e365be87538 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 26 Jan 2024 01:12:24 +0100 Subject: [PATCH] Auto accept EULA --- entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index d760d3c..07e5c5f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -46,6 +46,10 @@ function check() { fi } +function accept_eula() { + echo "eula=true" > /data/eula.txt +} + function run() { echo ":: Starting server" # We want to use ${ARGS} without using parenthesis @@ -78,6 +82,7 @@ function main() { print_banner initialize check + accept_eula run }