Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Change default bootloader timeout from 20sec to 5sec. (#727831) (http://www.linux-archive.org/debian-user/579268-change-default-bootloader-timeout-20sec-5sec-727831-a.html)

David Lehman 09-23-2011 04:12 PM

Change default bootloader timeout from 20sec to 5sec. (#727831)
 
---
pyanaconda/bootloader.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 55ee16e..e6ce014 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -757,10 +757,8 @@ class BootLoader(object):
"""Bootloader timeout in seconds."""
if self._timeout is not None:
t = self._timeout
- elif self.console and self.console.startswith("ttyS"):
- t = 5
else:
- t = 20
+ t = 5

return t

--
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 04:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.