Fix gettelnet usability
parent
159ce3fbbe
commit
c280c2528b
|
@ -150,17 +150,15 @@ enbl = nil
|
||||||
|
|
||||||
unsupported if client.platform !~ /win32|win64/i
|
unsupported if client.platform !~ /win32|win64/i
|
||||||
|
|
||||||
if enbl
|
if enbl or (usr!= nil && pass != nil)
|
||||||
message
|
message
|
||||||
insttlntsrv()
|
if enbl
|
||||||
enabletlntsrv()
|
insttlntsrv()
|
||||||
print_status("For cleanup use command: run multi_console_command -rc #{@dest}")
|
enabletlntsrv()
|
||||||
|
end
|
||||||
elsif usr!= nil && pass != nil
|
if (usr!= nil && pass != nil)
|
||||||
message
|
addrdpusr(usr, pass)
|
||||||
insttlntsrv()
|
end
|
||||||
enabletlntsrv()
|
|
||||||
addrdpusr(usr, pass)
|
|
||||||
print_status("For cleanup use command: run multi_console_command -rc #{@dest}")
|
print_status("For cleanup use command: run multi_console_command -rc #{@dest}")
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue