I think I would be looking at trying to get the "yes" command to work with it.
The "yes" command simply answers yes to any y/n prompts without the need for any user interaction.
For example: # yes | rm -i *.txt
The yes command here will answer yes to each file it prompts for a confirmation to delete.
So, if you're able to pass in a command like "yes | reboot" then that may well work for you.
Also see http://www.computerhope.com/unix/yes.htm
In reply to Re: telnet module
by DanielSpaniel
in thread telnet module
by ace_ravi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |