Browse Source

updated functions and getopt names

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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

4
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
}

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

8
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

28
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

6
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
}

4
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
}

8
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

Loading…
Cancel
Save