Browse Source

Removed redundant function

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
988b52dbe8
  1. 23
      functions/check_steamuser.sh
  2. 5
      functions/core_functions.sh

23
functions/check_steamuser.sh

@ -1,23 +0,0 @@
#!/bin/bash
# LGSM check_steamuser.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
if [ "${steamuser}" == "username" ]; then
fn_printfailnl "Steam login not set. Update steamuser."
echo " * Change steamuser=\"username\" to a valid steam login."
if [ -d ${scriptlogdir} ]; then
fn_scriptlog "edit ${selfname}. change steamuser=\"username\" to a valid steam login."
exit 1
fi
fi
if [ -z "${steamuser}" ]; then
fn_printwarnnl "Steam login not set. Using anonymous login."
if [ -d "${scriptlogdir}" ]; then
fn_scriptlog "Steam login not set. Using anonymous login."
fi
steamuser="anonymous"
steampass=""
sleep 2
fi

5
functions/core_functions.sh

@ -146,11 +146,6 @@ functionfile="${FUNCNAME}"
fn_fetch_function
}
check_steamuser.sh(){
functionfile="${FUNCNAME}"
fn_fetch_function
}
check_systemdir.sh(){
functionfile="${FUNCNAME}"
fn_fetch_function

Loading…
Cancel
Save