r4980 ExtremeOS deploying was fixed
authorAlexey Andriyanov <alan@al-an.info>
Wed, 29 Feb 2012 10:06:02 +0000 (10:06 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Wed, 29 Feb 2012 10:06:02 +0000 (10:06 +0000)
telnet client was not detecting device Y/N question

wwwroot/inc/remote.php

index 898495c407ca7b4b0fb499f01b3ed026a681ebca..2ce1522c7ffe8043ffbf7f40c872e9fe1340cc67 100644 (file)
@@ -69,7 +69,7 @@ function queryTerminal ($object_id, $commands, $tolerate_remote_errors = TRUE)
                        break;
                case 'xos12':
                        $protocol = 'telnet';
-                       $prompt = ': $|\.\d+ # $';
+                       $prompt = ': $|\.\d+ # $|\?\s*\([Yy]\/[Nn]\)\s*$';
                        break;
                case 'jun10':
                        $protocol = 'telnet';