parent
1d97bd0337
commit
511b9ac9df
14
bootstrap
14
bootstrap
|
|
@ -47,13 +47,10 @@ getparams() {
|
||||||
else
|
else
|
||||||
params="$params -password ${PASSWORD}"
|
params="$params -password ${PASSWORD}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Checking the final parameters to use:
|
|
||||||
echo "Final Valheim parameters to run: $params"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main function
|
# Main function
|
||||||
main($params) {
|
main() {
|
||||||
# Basic export for the BOX64 emulator
|
# Basic export for the BOX64 emulator
|
||||||
echo "##############################"
|
echo "##############################"
|
||||||
echo "Basic variables running box64:"
|
echo "Basic variables running box64:"
|
||||||
|
|
@ -71,9 +68,12 @@ main($params) {
|
||||||
# Move to the execution folder
|
# Move to the execution folder
|
||||||
cd /root/valheim_server
|
cd /root/valheim_server
|
||||||
|
|
||||||
|
## Checking the final parameters to use:
|
||||||
|
echo "Final Valheim parameters to run: $params"
|
||||||
|
|
||||||
# Starting the server:
|
# Starting the server:
|
||||||
box64 ./valheim_server.x86_64 $params
|
box64 ./valheim_server.x86_64 $1
|
||||||
}
|
}
|
||||||
|
|
||||||
$params=getparams
|
getparams
|
||||||
main(params)
|
main $params
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue