Daniel Gibbs 10 vuotta sitten
vanhempi
commit
3b6e66a5ae
3 muutettua tiedostoa jossa 3 lisäystä ja 4 poistoa
  1. 1 3
      functions/check_ip.sh
  2. 2 0
      functions/command_dev_debug.sh
  3. 0 1
      functions/command_install.sh

+ 1 - 3
functions/check_ip.sh

@@ -7,9 +7,7 @@ lgsm_version="271215"
 # Description: Automatically identifies the server interface IP.
 # If multiple interfaces are detected the user will need to manualy set using ip="0.0.0.0".
 
-if [ "${gamename}" == "Teamspeak 3" ]; then
-	:
-else
+if [ "${gamename}" != "Teamspeak 3" ]; then
 	if [ ! -f "/bin/ip" ]; then
 		ipcommand="/sbin/ip"
 	else

+ 2 - 0
functions/command_dev_debug.sh

@@ -4,6 +4,8 @@
 # Website: http://gameservermanagers.com
 lgsm_version="281215"
 
+# Description: Dev only: enables debuging log to be saved to dev-debug.log.
+
 function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
 if [ -f ".dev-debug" ]; then

+ 0 - 1
functions/command_install.sh

@@ -6,7 +6,6 @@ lgsm_version="260216"
 
 # Description: Overall function for the installer.
 
-
 local modulename="Install"
 function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"