Just for the record,
thanks to Michael the read function is now patched and this is a working
snippet that makes use of it (the || operator after the read function is
necessary to avoid script failures when the timeout occurs):
set menu-timeout 1000
set read-timeout 1000
set menu-default
On 23/04/2021 11:46, Matteo Guglielmi wrote:
Would it be possible to ask for a read --timeout option
in order to automate the following script (unattended
boot)?
set cmdline selinux=0 console=ttyS0,115200n8 console=tty0
echo -n Kernel command line: ${}
read --timeout 5 cmdline
chain
Would it be possible to ask for a read --timeout option
in order to automate the following script (unattended
boot)?
set cmdline selinux=0 console=ttyS0,115200n8 console=tty0
echo -n Kernel command line: ${}
read --timeout 5 cmdline
chain http://my.web.server/vmlinuz ${cmdline}
Thank you.
3 matches
Mail list logo