From 4ef0846589203b35d70295e7e6e6a58d71e20fa0 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Mon, 25 Jun 2012 14:06:00 +0200 Subject: defaultenv/bin/init: skip autoboot if $autoboot_timeout is unset Signed-off-by: Jan Luebbe Signed-off-by: Sascha Hauer --- defaultenv/bin/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaultenv/bin/init b/defaultenv/bin/init index 6e85a82e8c..f535e3781c 100644 --- a/defaultenv/bin/init +++ b/defaultenv/bin/init @@ -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 -- cgit v1.2.3