SOURCES: rc-scripts-getkey-timeout.patch (NEW) - set timeout for g...

baggins baggins at pld-linux.org
Fri Jan 20 19:45:06 CET 2006


Author: baggins                      Date: Fri Jan 20 18:45:06 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- set timeout for getkey or it may hang entire startup indefinitely

---- Files affected:
SOURCES:
   rc-scripts-getkey-timeout.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/rc-scripts-getkey-timeout.patch
diff -u /dev/null SOURCES/rc-scripts-getkey-timeout.patch:1.1
--- /dev/null	Fri Jan 20 19:45:06 2006
+++ SOURCES/rc-scripts-getkey-timeout.patch	Fri Jan 20 19:45:01 2006
@@ -0,0 +1,12 @@
+diff -ur rc-scripts-0.4.0.25/rc.d/rc.sysinit rc-scripts/rc.d/rc.sysinit
+--- rc-scripts-0.4.0.25/rc.d/rc.sysinit	2006-01-15 13:01:16.000000000 +0100
++++ rc-scripts/rc.d/rc.sysinit	2006-01-20 19:02:47.000000000 +0100
+@@ -863,7 +863,7 @@
+ kill -TERM $(/sbin/pidof getkey) >/dev/null 2>&1
+ } &
+ if is_yes "$PROMPT"; then
+-	/sbin/getkey i && touch /var/run/confirm
++	/sbin/getkey -c 5 i && touch /var/run/confirm
+ fi
+ wait
+ echo
================================================================


More information about the pld-cvs-commit mailing list