From 6882250bc78d210b6aac7150624ba78af950a276 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 22 Sep 2016 21:39:42 +0200 Subject: [PATCH] console: early install and interface mismatch crawling by --- src/etc/inc/config.console.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/config.console.inc b/src/etc/inc/config.console.inc index 1e75079e4..05c5d4e91 100644 --- a/src/etc/inc/config.console.inc +++ b/src/etc/inc/config.console.inc @@ -1,7 +1,7 @@ + Copyright (C) 2015-2016 Franco Fichtner Copyright (C) 2004-2010 Scott Ullrich Copyright (C) 2003-2004 Manuel Kasper All rights reserved. @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -function timeout($timer = 7) +function timeout($timer = 5) { while (!isset($key)) { if ($timer >= 9) { echo chr(8) . chr(8) . ($timer==9 ? chr(32) : null) . "{$timer}"; } @@ -44,6 +44,7 @@ function timeout($timer = 7) break; } } + return $key; }