فهرست منبع

Mumble back to tmux, cleaning

UltimateByte 9 سال پیش
والد
کامیت
3967e4e8b4
1فایلهای تغییر یافته به همراه0 افزوده شده و 34 حذف شده
  1. 0 34
      lgsm/functions/command_start.sh

+ 0 - 34
lgsm/functions/command_start.sh

@@ -54,38 +54,6 @@ fn_start_teamspeak3(){
 	fi
 }
 
-fn_start_mumble(){
-	if [ ! -e "${servercfgfullpath}" ]; then
-		fn_print_warn_nl "${servercfgfullpath} is missing"
-		fn_script_log_warn "${servercfgfullpath} is missing"
-		sleep 2
-	fi
-	sleep 1
-	check_status.sh
-	if [ "${status}" != "0" ]; then
-		fn_print_info_nl "${servername} is already running"
-		fn_script_log_error "${servername} is already running"
-		core_exit.sh
-	fi
-
-	mv "${scriptlog}" "${scriptlogdate}"
-	# Create lock file
-	date > "${rootdir}/${lockselfname}"
-	cd "${executabledir}"
-	./${executable} ${parms} > /dev/null 2>&1
-	sleep 1
-	check_status.sh
-	if [ "${status}" == "0" ]; then
-		fn_print_fail_nl "Unable to start ${servername}"
-		fn_script_log_fatal "Unable to start ${servername}"
-		echo -e "	Check log files: ${rootdir}/log"
-		core_exit.sh
-	else
-		fn_print_ok_nl "${servername}"
-		fn_script_log_pass "Started ${servername}"
-	fi
-}
-
 fn_start_tmux(){
 	fn_parms
 
@@ -212,8 +180,6 @@ fi
 
 if [ "${gamename}" == "Teamspeak 3" ]; then
 	fn_start_teamspeak3
-#elif [ "${gamename}" == "Mumble" ]; then
-#	fn_start_mumble
 else
 	fn_start_tmux
 fi