Browse Source

Update info_config.sh

Fixes issue #696
pull/754/head
Daniel Gibbs 9 years ago
parent
commit
a34adda006
  1. 2
      functions/info_config.sh

2
functions/info_config.sh

@ -574,7 +574,7 @@ elif [ "${gamename}" == "7 Days To Die" ]; then
# telnet password # telnet password
if [ -f "${servercfgfullpath}" ]; then if [ -f "${servercfgfullpath}" ]; then
telnetpass=$(grep "TelnetEnabled" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"") telnetpass=$(grep "TelnetPassword" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"")
if [ ! -n "${telnetpass}" ]; then if [ ! -n "${telnetpass}" ]; then
telnetpass="NOT SET" telnetpass="NOT SET"
fi fi

Loading…
Cancel
Save