Browse Source

fixes #880

if no telnet password is set it sets one. This will cause the telnet login attempt to fail rather than stall.
pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
73770c5696
  1. 3
      lgsm/functions/command_stop.sh

3
lgsm/functions/command_stop.sh

@ -88,6 +88,9 @@ fn_stop_graceful_goldsource(){
# Attempts graceful of 7 Days To Die using telnet. # Attempts graceful of 7 Days To Die using telnet.
fn_stop_telnet_sdtd(){ fn_stop_telnet_sdtd(){
if [ ! "${telnetpass}"]; then
telnetpass="NOTSET"
fi
sdtd_telnet_shutdown=$( expect -c ' sdtd_telnet_shutdown=$( expect -c '
proc abort {} { proc abort {} {
puts "Timeout or EOF\n" puts "Timeout or EOF\n"

Loading…
Cancel
Save