rc-scripts/trunk/rc.d/rc.sysinit

baggins cvs at pld-linux.org
Fri Jan 20 19:02:44 CET 2006


Author: baggins
Date: Fri Jan 20 19:02:41 2006
New Revision: 6871

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
- give getkey a timeout of 5s, better safe than hung init process


Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Fri Jan 20 19:02:41 2006
@@ -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