Ver Fonte

Minor improvements

Daniel Gibbs há 11 anos atrás
pai
commit
d4599d2afe
3 ficheiros alterados com 15 adições e 15 exclusões
  1. 5 5
      functions/fn_install_kffix
  2. 5 5
      functions/fn_install_rofix
  3. 5 5
      functions/fn_install_ut2k4fix

+ 5 - 5
functions/fn_install_kffix

@@ -2,7 +2,7 @@
 # LGSM fn_install_kffix function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 210115
+# Version: 150515
 
 echo "Applying ${gamename} Server Fixes"
 echo "================================="
@@ -19,9 +19,9 @@ echo "applying server name fix."
 sleep 1
 echo "forcing server restart..."
 sleep 1
-cd "${rootdir}"
-./${selfname} start
+fn_start
 sleep 5
-./${selfname} restart
+fn_stop
+fn_start
 sleep 5
-./${selfname} stop
+fn_stop

+ 5 - 5
functions/fn_install_rofix

@@ -2,7 +2,7 @@
 # LGSM fn_install_rofix function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 210115
+# Version: 150515
 
 echo "Applying ${gamename} Server Fixes"
 echo "================================="
@@ -19,9 +19,9 @@ echo "applying server name fix."
 sleep 1
 echo "forcing server restart..."
 sleep 1
-cd "${rootdir}"
-./${selfname} start
+fn_start
 sleep 5
-./${selfname} restart
+fn_stop
+fn_start
 sleep 5
-./${selfname} stop
+fn_stop

+ 5 - 5
functions/fn_install_ut2k4fix

@@ -2,7 +2,7 @@
 # LGSM fn_install_ut2k4fix function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 210115
+# Version: 150515
 
 echo "Applying ${gamename} Server Fixes"
 echo "================================="
@@ -24,9 +24,9 @@ echo -en "forcing server restart...\r"
 sleep 0.5
 echo -en "\n"
 sleep 0.5
-cd "${rootdir}"
-./${selfname} start
+fn_start
 sleep 5
-./${selfname} restart
+fn_stop
+fn_start
 sleep 5
-./${selfname} stop
+fn_stop