]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-getkey-timeout.patch
- set timeout for getkey or it may hang entire startup indefinitely
[packages/rc-scripts.git] / rc-scripts-getkey-timeout.patch
1 diff -ur rc-scripts-0.4.0.25/rc.d/rc.sysinit rc-scripts/rc.d/rc.sysinit
2 --- rc-scripts-0.4.0.25/rc.d/rc.sysinit 2006-01-15 13:01:16.000000000 +0100
3 +++ rc-scripts/rc.d/rc.sysinit  2006-01-20 19:02:47.000000000 +0100
4 @@ -863,7 +863,7 @@
5  kill -TERM $(/sbin/pidof getkey) >/dev/null 2>&1
6  } &
7  if is_yes "$PROMPT"; then
8 -       /sbin/getkey i && touch /var/run/confirm
9 +       /sbin/getkey -c 5 i && touch /var/run/confirm
10  fi
11  wait
12  echo
This page took 0.023473 seconds and 3 git commands to generate.