|
|
@ -28,17 +28,17 @@ rootdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")") |
|
|
|
selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")") |
|
|
|
sessionname=$(echo "${selfname}" | cut -f1 -d".") |
|
|
|
lgsmdir="${rootdir}/lgsm" |
|
|
|
logdir="${rootdir}/log" |
|
|
|
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log" |
|
|
|
lgsmlogdir="${logdir}/lgsm" |
|
|
|
steamcmddir="${HOME}/.steam/steamcmd" |
|
|
|
serverfiles="${rootdir}/serverfiles" |
|
|
|
[ -n "${LGSM_SERVERFILES}" ] && serverfiles="${LGSM_SERVERFILES}" || serverfiles="${rootdir}/serverfiles" |
|
|
|
modulesdir="${lgsmdir}/modules" |
|
|
|
tmpdir="${lgsmdir}/tmp" |
|
|
|
datadir="${lgsmdir}/data" |
|
|
|
lockdir="${lgsmdir}/lock" |
|
|
|
serverlist="${datadir}/serverlist.csv" |
|
|
|
serverlistmenu="${datadir}/serverlistmenu.csv" |
|
|
|
configdir="${lgsmdir}/config-lgsm" |
|
|
|
[ -n "${LGSM_CONFIG}" ] && configdir="${LGSM_CONFIG}" || configdir="${lgsmdir}/config-lgsm" |
|
|
|
configdirserver="${configdir}/${gameservername}" |
|
|
|
configdirdefault="${lgsmdir}/config-default" |
|
|
|
userinput="${1}" |
|
|
|