defaultenv-2: init: don't call timeout again if the user intervened
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@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f52cf03 commit acc69bdddc50262b8f91034c248279d8dc734284
@Michael Olbrich Michael Olbrich authored on 16 Feb 2015
Sascha Hauer committed on 17 Feb 2015
Showing 1 changed file
View
defaultenv/defaultenv-2-base/bin/init