--timeout feature for read command?
|
2016-05-04, 14:00
Post: #1
|
|||
|
|||
--timeout feature for read command?
Hi,
I was wondering if it's possible to add --timeout to the read command - similar to how the prompt command works? I have an ipxe script that starts with read. It will goto the corresponding section when the user types the proper text, else it goes back to start. I would like it to timeout to a certain section after a period of time with no input. Thanks |
|||
2016-05-10, 09:59
Post: #2
|
|||
|
|||
RE: --timeout feature for read command?
(2016-05-04 14:00)bikester Wrote: I was wondering if it's possible to add --timeout to the read command - similar to how the prompt command works? Start the script with a menu or a prompt, both of which allow a timeout to be specified, and drop to the read command only when the user has indicated that they want to provide the input? Alternatively, a patch which adds this functionality cleanly will probably be merged. Michael |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)