diff --git a/src/etc/inc/console.inc b/src/etc/inc/console.inc index 8020691a3..28be884c6 100644 --- a/src/etc/inc/console.inc +++ b/src/etc/inc/console.inc @@ -28,7 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -function timeout($timer = 5) +function timeout($timer = 7) { while (!isset($key)) { if ($timer >= 9) { echo chr(8) . chr(8) . ($timer==9 ? chr(32) : null) . "{$timer}"; } diff --git a/src/sbin/opnsense-importer b/src/sbin/opnsense-importer index 2662a8b1f..670e5f36f 100755 --- a/src/sbin/opnsense-importer +++ b/src/sbin/opnsense-importer @@ -26,6 +26,7 @@ INSTALL="/.probe.for.install.media" MNT="/tmp/hdrescue" +WAIT="........." if [ "$(id -u)" != "0" ]; then echo "Must be root." @@ -126,7 +127,7 @@ else fi if ! timeout_prompt \ - 'Press any key to start the configuration importer:' .......; then + 'Press any key to start the configuration importer:' ${WAIT}; then bootstrap_and_exit fi fi