|
@@ -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
|