From eb20cae44af9c54fef463ae0da2b0f4b6913256c Mon Sep 17 00:00:00 2001 From: cedarlug Date: Fri, 20 May 2016 18:40:30 -0500 Subject: [PATCH] Removing comments relating to parsing of the script (which is no longer performed) --- functions/command_stop.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/functions/command_stop.sh b/functions/command_stop.sh index 3deb8c12a..baa907a0d 100644 --- a/functions/command_stop.sh +++ b/functions/command_stop.sh @@ -30,13 +30,8 @@ sdtd_telnet(){ } fn_stop_ark(){ - # grab the queryport. there are two locations to grab this from. - # first start with the parameters from the parms line fn_printwarn "attempting to determine any in-use ports" fn_scriptlog "attempting to determine any in-use ports" - #port=$(grep ^parms= arkserver |\ - # awk -F"QueryPort=" '{print $2}' |\ - # sed "s/[^[:digit:].*].*//g" ) info_config.sh if [ -z $queryport ] ; then fn_printwarn "no queryport found in the arkserver script" @@ -175,7 +170,7 @@ else let counter=counter+1 if [ "${counter}" -gt "1" ]; then fn_printdots "Attempting graceful shutdown: ${counter}" - fi + fi done pid=$(tmux list-sessions 2>&1|awk '{print $1}'|grep -Ec "^${servicename}:") if [ "${pid}" == "0" ]; then