Procházet zdrojové kódy

Create fn_check_steamuser

Scarsz před 11 roky
rodič
revize
9fab0b0562
1 změnil soubory, kde provedl 11 přidání a 0 odebrání
  1. 11 0
      functions/fn_check_steamuser

+ 11 - 0
functions/fn_check_steamuser

@@ -0,0 +1,11 @@
+#!/bin/bash
+# LGSM fn_install_serverfiles function
+# Author: Daniel Gibbs
+# Website: http://gameservermanagers.com
+# Version: 160515
+
+if [ -z "${steamuser}" ]; then
+        fn_printwarningnl "SteamCMD user variable is not assigned in the main script! Resorting to anonymous login"
+	steamuser="anonymous"
+	steampass=""
+fi