From 656746f2cdd833687f951eccba9dcce2b4262a5f Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 7 Jan 2016 22:35:01 +0000 Subject: [PATCH] More interface changes --- functions/command_ts3_server_pass.sh | 11 ++++++----- functions/core_getopt.sh | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/functions/command_ts3_server_pass.sh b/functions/command_ts3_server_pass.sh index c92581ec7..f8563f3d2 100644 --- a/functions/command_ts3_server_pass.sh +++ b/functions/command_ts3_server_pass.sh @@ -7,7 +7,7 @@ lgsm_version="070116" # Description: Changes TS3 serveradmin password -local modulename="TS3 Server Password" +local modulename="Change password" function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" @@ -17,8 +17,8 @@ echo "${gamename} ServerAdmin Password Change" echo "============================" echo "" echo "Press \"CTRL+b d\" to exit console." -fn_printinfomationnl "You are about to change the ${gamename} ServerAdmin password" -fn_printwarningnl "${gamename} will restart during this process" +fn_printinfomationnl "You are about to change the ${gamename} ServerAdmin password." +fn_printwarningnl "${gamename} will restart during this process." echo "" while true; do read -e -i "y" -p "Continue? [y/N]" yn @@ -41,11 +41,12 @@ sleep 1 command_stop.sh # Start server in "new password mode" ts3serverpass="1" +fn_printinfonl "Starting with new password" command_start.sh # Stop server in "new password mode" command_stop.sh -fn_printoknl "Applying new password" -fn_scriptlog "New ServerAdmin password has been applyed" +fn_printoknl "Password applied" +fn_scriptlog "New ServerAdmin password applied" sleep 1 } diff --git a/functions/core_getopt.sh b/functions/core_getopt.sh index 913801801..9c848b5fd 100644 --- a/functions/core_getopt.sh +++ b/functions/core_getopt.sh @@ -90,7 +90,7 @@ case "$getopt" in command_details.sh;; b|backup) command_backup.sh;; - pw|serveradmin-password) + pw|change-password) command_ts3_server_pass.sh;; dev|dev-debug) command_dev_debug.sh;;