Daniel Gibbs 10 anni fa
parent
commit
44453353df

+ 1 - 1
lgsm/functions/check_deps.sh

@@ -64,7 +64,7 @@ fn_deps_email(){
 fn_found_missing_deps(){
 fn_found_missing_deps(){
 	if [ "${#array_deps_missing[@]}" != "0" ]; then
 	if [ "${#array_deps_missing[@]}" != "0" ]; then
 		fn_print_dots "Checking dependencies"
 		fn_print_dots "Checking dependencies"
-		sleep 2
+		sleep 0.5
 		fn_print_error "Checking dependencies: missing: ${red}${array_deps_missing[@]}${default}"
 		fn_print_error "Checking dependencies: missing: ${red}${array_deps_missing[@]}${default}"
 		fn_script_log_error "Checking dependencies: missing: ${red}${array_deps_missing[@]}${default}"
 		fn_script_log_error "Checking dependencies: missing: ${red}${array_deps_missing[@]}${default}"
 		sleep 1
 		sleep 1

+ 6 - 0
lgsm/functions/check_glibc.sh

@@ -14,18 +14,24 @@ info_distro.sh
 if [ "${glibcrequired}" == "NOT REQUIRED" ]; then
 if [ "${glibcrequired}" == "NOT REQUIRED" ]; then
 	:
 	:
 elif [ "${glibcrequired}" == "UNKNOWN" ]; then
 elif [ "${glibcrequired}" == "UNKNOWN" ]; then
+		fn_print_dots "Glibc fix"
+		sleep 0.5
 		fn_print_error_nl "Glibc fix: ${red}${glibcrequired}${default}"
 		fn_print_error_nl "Glibc fix: ${red}${glibcrequired}${default}"
 		echo -e "	* glibc required: ${red}${glibcrequired}${default}"
 		echo -e "	* glibc required: ${red}${glibcrequired}${default}"
 		echo -e "	* glibc installed: ${glibcversion}"
 		echo -e "	* glibc installed: ${glibcversion}"
 elif [ "$(printf '%s\n'${glibcrequired}'\n' ${glibcversion} | sort -V | head -n 1)" != "${glibcrequired}" ]; then
 elif [ "$(printf '%s\n'${glibcrequired}'\n' ${glibcversion} | sort -V | head -n 1)" != "${glibcrequired}" ]; then
 	if [ "${glibcfix}" == "yes" ]; then
 	if [ "${glibcfix}" == "yes" ]; then
 		if [ "${selfname}" != "command_install.sh" ]; then
 		if [ "${selfname}" != "command_install.sh" ]; then
+			fn_print_dots "Glibc fix"
+			sleep 0.5
 			fn_print_info_nl "Glibc fix: ${green}Using Glibc fix${default}"
 			fn_print_info_nl "Glibc fix: ${green}Using Glibc fix${default}"
 			echo -e "	* glibc required: ${red}${glibcrequired}${default}"
 			echo -e "	* glibc required: ${red}${glibcrequired}${default}"
 			echo -e "	* glibc installed: ${glibcversion}"
 			echo -e "	* glibc installed: ${glibcversion}"
 			fix_glibc.sh
 			fix_glibc.sh
 		fi
 		fi
 	else
 	else
+		fn_print_dots "Glibc fix"
+		sleep 0.5
 		fn_print_error_nl "Glibc fix: ${red}No Glibc fix available!${default}"
 		fn_print_error_nl "Glibc fix: ${red}No Glibc fix available!${default}"
 		echo -en "\n"
 		echo -en "\n"
 		echo -e "	* glibc required: ${glibcrequired}"
 		echo -e "	* glibc required: ${glibcrequired}"

+ 2 - 0
lgsm/functions/check_ip.sh

@@ -19,6 +19,8 @@ if [ "${gamename}" != "Teamspeak 3" ]; then
 
 
 	if [ "${ip}" == "0.0.0.0" ]||[ "${ip}" == "" ]; then
 	if [ "${ip}" == "0.0.0.0" ]||[ "${ip}" == "" ]; then
 		if [ "${getipwc}" -ge "2" ]; then
 		if [ "${getipwc}" -ge "2" ]; then
+			fn_print_dots ""
+			sleep 0.5
 			fn_print_fail "Multiple active network interfaces found.\n\n"
 			fn_print_fail "Multiple active network interfaces found.\n\n"
 			fn_print_infomation "Specify the IP you want to use within the ${selfname} script.\n"
 			fn_print_infomation "Specify the IP you want to use within the ${selfname} script.\n"
 			echo -en "Set ip=\"0.0.0.0\" to one of the following:\n"
 			echo -en "Set ip=\"0.0.0.0\" to one of the following:\n"

+ 1 - 1
lgsm/functions/check_logs.sh

@@ -10,7 +10,7 @@ local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 # Create dir's for the script and console logs
 # Create dir's for the script and console logs
 if [ ! -d "${scriptlogdir}" ]||[ ! -d "${consolelogdir}" ]&&[ "${gamename}" != "Teamspeak 3" ]; then
 if [ ! -d "${scriptlogdir}" ]||[ ! -d "${consolelogdir}" ]&&[ "${gamename}" != "Teamspeak 3" ]; then
 	fn_print_dots "Checking for log files"
 	fn_print_dots "Checking for log files"
-	sleep 1
+	sleep 0.5
 	fn_print_info_nl "Checking for log files: Creating log files"
 	fn_print_info_nl "Checking for log files: Creating log files"
 	checklogs=1
 	checklogs=1
 	install_logs.sh
 	install_logs.sh