defaultenv/bin/init: skip autoboot if $autoboot_timeout is unset
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5ecbd4a40f
commit
4ef0846589
|
@ -23,7 +23,7 @@ fi
|
|||
|
||||
if [ -f /env/bin/boot_board ]; then
|
||||
. /env/bin/boot_board
|
||||
else
|
||||
elif [ -n $autoboot_timeout ]; then
|
||||
echo
|
||||
echo -n "Hit any key to stop autoboot: "
|
||||
timeout -a $autoboot_timeout
|
||||
|
|
Loading…
Reference in New Issue