Daniel Gibbs 10 лет назад
Родитель
Сommit
c48fadba8d
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      functions/fn_start

+ 3 - 1
functions/fn_start

@@ -2,7 +2,7 @@
 # LGSM fn_start function
 # LGSM fn_start function
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 # Website: http://gameservermanagers.com
-# Version: 261015
+# Version: 291015
 
 
 # Description: Starts the server.
 # Description: Starts the server.
 
 
@@ -128,9 +128,11 @@ tmux new-session -d -s "${servicename}" "${executable} ${parms}" 2> "${scriptlog
 # tmux pipe-pane not supported in tmux versions < 1.6
 # tmux pipe-pane not supported in tmux versions < 1.6
 if [ "$(tmux -V|sed "s/tmux //"|sed -n '1 p'|tr -cd [:digit:])" -lt "16" ]; then
 if [ "$(tmux -V|sed "s/tmux //"|sed -n '1 p'|tr -cd [:digit:])" -lt "16" ]; then
 	echo "Console logging disabled: Tmux => 1.6 required" >> "${consolelog}"
 	echo "Console logging disabled: Tmux => 1.6 required" >> "${consolelog}"
+	echo "http://gameservermanagers.com/tmux-upgrade" >> "${consolelog}"
 	echo "Currently installed: $(tmux -V)" >> "${consolelog}"
 	echo "Currently installed: $(tmux -V)" >> "${consolelog}"
 elif [ "$(tmux -V|sed "s/tmux //"|sed -n '1 p'|tr -cd [:digit:])" -eq "18" ]; then
 elif [ "$(tmux -V|sed "s/tmux //"|sed -n '1 p'|tr -cd [:digit:])" -eq "18" ]; then
 	echo "Console logging disabled: Bug in tmux 1.8 breaks logging" >> "${consolelog}"
 	echo "Console logging disabled: Bug in tmux 1.8 breaks logging" >> "${consolelog}"
+	echo "http://gameservermanagers.com/tmux-upgrade" >> "${consolelog}"
 	echo "Currently installed: $(tmux -V)" >> "${consolelog}"
 	echo "Currently installed: $(tmux -V)" >> "${consolelog}"
 else
 else
 	touch "${consolelog}"
 	touch "${consolelog}"