Przeglądaj źródła

updated functions and getopt names

Daniel Gibbs 10 lat temu
rodzic
commit
d3efed7da9
47 zmienionych plików z 193 dodań i 193 usunięć
  1. 4 4
      7DaysToDie/sdtdserver
  2. 4 4
      ARKSurvivalEvolved/arkserver
  3. 4 4
      Arma3/arma3server
  4. 4 4
      BlackMesa/bmdmserver
  5. 4 4
      BladeSymphony/bsserver
  6. 4 4
      CounterStrike/csserver
  7. 4 4
      CounterStrikeConditionZero/csczserver
  8. 2 2
      CounterStrikeGlobalOffensive/csgoserver
  9. 4 4
      CounterStrikeSource/cssserver
  10. 4 4
      DayOfDefeat/dodserver
  11. 4 4
      DayOfDefeatSource/dodsserver
  12. 4 4
      DeathmatchClassic/dmcserver
  13. 4 4
      DontStarveTogether/dstserver
  14. 4 4
      DoubleActionBoogaloo/dabserver
  15. 4 4
      FistfulOfFrags/fofserver
  16. 4 4
      GarrysMod/gmodserver
  17. 4 4
      HalfLife2Deathmatch/hl2dmserver
  18. 4 4
      HalfLifeDeathmatch/hldmserver
  19. 4 4
      HalfLifeDeathmatchSource/hldmsserver
  20. 4 4
      Hurtworld/hwserver
  21. 4 4
      Insurgency/insserver
  22. 4 4
      JustCause2/jc2server
  23. 4 4
      KillingFloor/kfserver
  24. 4 4
      Left4Dead/l4dserver
  25. 4 4
      Left4Dead2/l4d2server
  26. 4 4
      Mumble/mumbleserver
  27. 4 4
      NS2Combat/ns2cserver
  28. 4 4
      NaturalSelection2/ns2server
  29. 4 4
      NoMoreRoomInHell/nmrihserver
  30. 4 4
      OpposingForce/opforserver
  31. 4 4
      PiratesVikingandKnightsII/pvkiiserver
  32. 4 4
      ProjectZomboid/pzserver
  33. 4 4
      RedOrchestra/roserver
  34. 4 4
      Ricochet/ricochetserver
  35. 4 4
      SeriousSam3BFE/ss3sserver
  36. 4 4
      StarBound/sbserver
  37. 4 4
      TeamFortress2/tf2server
  38. 4 4
      TeamFortressClassic/tfcserver
  39. 4 4
      TeamSpeak3/ts3server
  40. 4 4
      Teeworlds/twserver
  41. 4 4
      Terraria/terrariaserver
  42. 4 4
      UnrealTournament2004/ut2k4server
  43. 4 4
      UnrealTournament99/ut99server
  44. 14 14
      functions/core_getopt.sh
  45. 3 3
      functions/fn_functions
  46. 2 2
      functions/fn_getopt
  47. 4 4
      tests/tests_ts3server.sh

+ 4 - 4
7DaysToDie/sdtdserver

@@ -122,14 +122,14 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh
 

+ 4 - 4
ARKSurvivalEvolved/arkserver

@@ -120,13 +120,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
Arma3/arma3server

@@ -143,13 +143,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
BlackMesa/bmdmserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
BladeSymphony/bsserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
CounterStrike/csserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
CounterStrikeConditionZero/csczserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 2 - 2
CounterStrikeGlobalOffensive/csgoserver

@@ -149,8 +149,8 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }

+ 4 - 4
CounterStrikeSource/cssserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
DayOfDefeat/dodserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
DayOfDefeatSource/dodsserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
DeathmatchClassic/dmcserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
DontStarveTogether/dstserver

@@ -120,13 +120,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
DoubleActionBoogaloo/dabserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
FistfulOfFrags/fofserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
GarrysMod/gmodserver

@@ -137,13 +137,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
HalfLife2Deathmatch/hl2dmserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
HalfLifeDeathmatch/hldmserver

@@ -125,13 +125,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
HalfLifeDeathmatchSource/hldmsserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
Hurtworld/hwserver

@@ -139,14 +139,14 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh
 

+ 4 - 4
Insurgency/insserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
JustCause2/jc2server

@@ -119,13 +119,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
KillingFloor/kfserver

@@ -128,13 +128,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
Left4Dead/l4dserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
Left4Dead2/l4d2server

@@ -125,13 +125,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
Mumble/mumbleserver

@@ -105,14 +105,14 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh
 

+ 4 - 4
NS2Combat/ns2cserver

@@ -131,13 +131,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
NaturalSelection2/ns2server

@@ -131,13 +131,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
NoMoreRoomInHell/nmrihserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
OpposingForce/opforserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
PiratesVikingandKnightsII/pvkiiserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
ProjectZomboid/pzserver

@@ -120,13 +120,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
RedOrchestra/roserver

@@ -124,13 +124,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
Ricochet/ricochetserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
SeriousSam3BFE/ss3sserver

@@ -123,13 +123,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
StarBound/sbserver

@@ -119,13 +119,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
TeamFortress2/tf2server

@@ -131,13 +131,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
TeamFortressClassic/tfcserver

@@ -126,13 +126,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
TeamSpeak3/ts3server

@@ -103,13 +103,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
Teeworlds/twserver

@@ -122,13 +122,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
Terraria/terrariaserver

@@ -121,13 +121,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
UnrealTournament2004/ut2k4server

@@ -114,13 +114,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 4 - 4
UnrealTournament99/ut99server

@@ -113,13 +113,13 @@ fn_runfunction(){
 	fn_getgithubfile "functions/${functionfile}" 1
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 getopt=$1
-fn_getopt
+core_getopt.sh

+ 14 - 14
functions/core_getopt.sh

@@ -1,12 +1,12 @@
 #!/bin/bash
-# LGSM fn_getopt function
+# LGSM core_getopt.sh function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 lgsm_version="061115"
 
 # Description: getopt arguments.
 
-fn_getopt_generic(){
+core_getopt.sh_generic(){
 case "$getopt" in
 	st|start)
 		command_start.sh;;
@@ -70,7 +70,7 @@ case "$getopt" in
 exit
 }
 
-fn_getopt_teamspeak3(){
+core_getopt.sh_teamspeak3(){
 case "$getopt" in
 	st|start)
 		command_start.sh;;
@@ -121,7 +121,7 @@ case "$getopt" in
 exit
 }
 
-fn_getopt_mumble(){
+core_getopt.sh_mumble(){
 case "$getopt" in
 	st|start)
 		command_start.sh;;
@@ -166,7 +166,7 @@ case "$getopt" in
 exit
 }
 
-fn_getopt_gmodserver(){
+core_getopt.sh_gmodserver(){
 case "$getopt" in
 	st|start)
 		command_start.sh;;
@@ -233,7 +233,7 @@ case "$getopt" in
 exit
 }
 
-fn_getopt_unreal(){
+core_getopt.sh_unreal(){
 case "$getopt" in
 	st|start)
 		command_start.sh;;
@@ -288,7 +288,7 @@ exit
 }
 
 
-fn_getopt_unreal2(){
+core_getopt.sh_unreal2(){
 case "$getopt" in
 	st|start)
 		command_start.sh;;
@@ -356,7 +356,7 @@ exit
 }
 
 
-fn_getopt_ut2k4(){
+core_getopt.sh_ut2k4(){
 case "$getopt" in
 	st|start)
 		command_start.sh;;
@@ -411,17 +411,17 @@ exit
 }
 
 if [ "${gamename}" == "Mumble" ]; then
-	fn_getopt_mumble
+	core_getopt.sh_mumble
 elif [ "${gamename}" == "Teamspeak 3" ]; then
-	fn_getopt_teamspeak3
+	core_getopt.sh_teamspeak3
 elif [ "${engine}" == "unreal2" ]; then
 	if [ "${gamename}" == "Unreal Tournament 2004" ]; then
-		fn_getopt_ut2k4
+		core_getopt.sh_ut2k4
 	else
-		fn_getopt_unreal2
+		core_getopt.sh_unreal2
 	fi
 elif [ "${engine}" == "unreal" ]; then
-	fn_getopt_unreal
+	core_getopt.sh_unreal
 else
-	fn_getopt_generic
+	core_getopt.sh_generic
 fi

+ 3 - 3
functions/fn_functions

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM fn_functions function
+# LGSM core_functions.sh function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 lgsm_version="261215"
@@ -7,12 +7,12 @@ lgsm_version="261215"
 # Description: Redirect to new core_functions.sh
 
 core_functions.sh(){
-# Functions are defined in fn_functions.
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_getopt(){
+core_getopt.sh(){
 functionfile="${FUNCNAME}"
 fn_runfunction
 }

+ 2 - 2
functions/fn_getopt

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM fn_getopt function
+# LGSM core_getopt.sh function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 lgsm_version="201215"
@@ -7,7 +7,7 @@ lgsm_version="201215"
 # Description: Redirect to new core_getopt.sh
 
 core_getopt.sh(){
-# Functions are defined in fn_functions.
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }

+ 4 - 4
tests/tests_ts3server.sh

@@ -62,13 +62,13 @@ fi
 source "${rootdir}/functions/${functionfile}"
 }
 
-fn_functions(){
-# Functions are defined in fn_functions.
+core_functions.sh(){
+# Functions are defined in core_functions.sh.
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_functions
+core_functions.sh
 
 fn_currentstatus_tmux(){
 pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:")
@@ -152,7 +152,7 @@ echo "================================="
 echo "Description:"
 echo "displaying options messages."
 echo ""
-(fn_getopt)
+(core_getopt.sh)
 echo ""
 echo "Test complete!"
 sleep 1