mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
rc: increase both keypress timeouts slightly
This commit is contained in:
parent
4ac26c6286
commit
242912aa6d
@ -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}"; }
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user