Auto accept EULA
This commit is contained in:
parent
93a0efbabd
commit
6fe9024282
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue