From 6b1a0fa8b8019ce5dfc5fe66adab654fe58baa5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Dahl=20K=C3=A6rgaard?= Date: Sat, 29 Sep 2018 11:28:23 +0200 Subject: [PATCH] Change default GameStyle and random password length --- config/start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/start.sh b/config/start.sh index cddbb6c..dda64c6 100644 --- a/config/start.sh +++ b/config/start.sh @@ -1,11 +1,11 @@ #!/usr/bin/env sh sed -i \ - -e "s/#GAME_STYLE#/${GAME_STYLE:-"3"}/g" \ + -e "s/#GAME_STYLE#/${GAME_STYLE:-"0"}/g" \ -e "s/#MAX_PLAYERS#/${MAX_PLAYERS:-"32"}/g" \ -e "s/#GAME_PASSWORD#/${GAME_PASSWORD:-""}/g" \ - -e "s/#ADMIN_PASSWORD#/${ADMIN_PASSWORD:-"$(< /dev/urandom tr -dc A-Za-z0-9 | head -c8; echo)"}/g" \ + -e "s/#ADMIN_PASSWORD#/${ADMIN_PASSWORD:-"$(< /dev/urandom tr -dc A-Za-z0-9 | head -c32; echo)"}/g" \ -e "s/#SERVER_NAME#/${SERVER_NAME:-"Just another FFA"}/g" \ -e "s/#BALANCE_TEAMS#/${BALANCE_TEAMS:-"1"}/g" soldat.ini -./soldatserver -p 23073 -l ${MAX_PLAYERS:-"32"} \ No newline at end of file +./soldatserver -p 23073 -l ${MAX_PLAYERS:-"32"}