Auto accept EULA

This commit is contained in:
JeremyStar™ 2024-01-26 01:12:24 +01:00
parent 93a0efbabd
commit 6fe9024282

View file

@ -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
}