From 621c3d7cdebd96860a538be36cdd89ab09740986 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 7 Jul 2016 21:48:13 +0100 Subject: [PATCH] added default option --- lgsm/functions/command_console.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/command_console.sh b/lgsm/functions/command_console.sh index ffb7ebb3a..1e888155c 100644 --- a/lgsm/functions/command_console.sh +++ b/lgsm/functions/command_console.sh @@ -38,7 +38,7 @@ else fn_script_log_error "Failed to access: Server not running" sleep 1 while true; do - read -p "Do you want to start the server? [y/N]" yn + read -e -i "y" -p "Do you want to start the server? [Y/n]" yn case $yn in [Yy]* ) exitbypass=1; command_start.sh; break;; [Nn]* ) break;;