]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- set timeout for getkey or it may hang entire startup indefinitely
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 20 Jan 2006 18:45:01 +0000 (18:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-getkey-timeout.patch -> 1.1

rc-scripts-getkey-timeout.patch [new file with mode: 0644]

diff --git a/rc-scripts-getkey-timeout.patch b/rc-scripts-getkey-timeout.patch
new file mode 100644 (file)
index 0000000..eec8414
--- /dev/null
@@ -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
This page took 0.042322 seconds and 4 git commands to generate.