[PATCH] defaultenv-2: init: don't call timeout again if the user intervened
Sascha Hauer
s.hauer at pengutronix.de
Tue Feb 17 00:08:54 PST 2015
On Mon, Feb 16, 2015 at 12:23:31PM +0100, Michael Olbrich wrote:
> With autoboot_timeout=0 the second 'timeout' might not get another
> character even if the user keeps a key pressed. So just reuse the key from
> the first call.
>
> Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>
> ---
> defaultenv/defaultenv-2-base/bin/init | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list