4
0
Эх сурвалжийг харах

Updated message to reflect new LinuxGSM config location

Daniel Gibbs 9 жил өмнө
parent
commit
28cc7bfd82

+ 5 - 1
lgsm/functions/check_ip.sh

@@ -39,7 +39,11 @@ if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${travi
 			echo -en "https://gameservermanagers.com/network-interfaces\n"
 			echo -en ""
 			fn_script_log_fatal "Multiple active network interfaces found."
-			fn_script_log_fatal "Manually specify the IP you want to use within the ${selfname} script."
+			if [ "${legacymode}" == "1" ] then
+				fn_script_log_fatal "Manually specify the IP you want to use within the ${selfname} script."
+			else
+				fn_script_log_fatal "Manually specify the IP you want to use within: ${configdirserver}."
+			fi
 			fn_script_log_fatal "https://gameservermanagers.com/network-interfaces\n"
 			core_exit.sh
 		else

+ 9 - 2
lgsm/functions/check_steamcmd.sh

@@ -18,10 +18,17 @@ fn_install_steamcmd(){
 fn_check_steamcmd_user(){
 	# Checks if steamuser is setup.
 	if [ "${steamuser}" == "username" ]; then
-		fn_print_fail_nl "Steam login not set. Update steamuser in ${selfname}"
+		if [ "${legacymode}" == "1" ] then
+			fn_print_fail_nl "Steam login not set. Update steamuser in ${selfname}"
+		else
+			fn_print_fail_nl "Steam login not set. Update steamuser in ${configdirserver}"
+		fi
 		echo "	* Change steamuser=\"username\" to a valid steam login."
 		if [ -d "${lgsmlogdir}" ]; then
-			fn_script_log_fatal "Steam login not set. Update steamuser in ${selfname}"
+			if [ "${legacymode}" == "1" ] then
+				fn_script_log_fatal "Steam login not set. Update steamuser in ${selfname}"
+			else
+				fn_script_log_fatal "Steam login not set. Update steamuser in ${configdirserver}"
 		fi
 		core_exit.sh
 	fi