Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 298255 Details for
Bug 255528
sys-fs/cryptsetup: startup scripts are not POSIX compliant
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix timeout issue for new dmcrypt.rc
dmcrypt.rc.patch (text/plain), 773 bytes, created by
Martin Väth
on 2012-01-07 18:05:32 UTC
(
hide
)
Description:
Fix timeout issue for new dmcrypt.rc
Filename:
MIME Type:
Creator:
Martin Väth
Created:
2012-01-07 18:05:32 UTC
Size:
773 bytes
patch
obsolete
>--- dmcrypt.rc >+++ dmcrypt.rc >@@ -71,17 +71,24 @@ > if [ -n "${key}" ] ; then > read_abort() { > # some colors >- local ans >- shift >+ local ans savetty resettty > [ -z "${NORMAL}" ] && eval $(eval_ecolors) > einfon " $1? (${WARN}yes${NORMAL}/${GOOD}No${NORMAL}) " >- if ! read -n 1 $* ans ; then >+ shift >+ savetty=`stty -g` >+ resettty='stty ${savetty}; trap - EXIT HUP INT TERM' >+ trap 'eval "${resettty}"' EXIT HUP INT TERM >+ stty -icanon >+ [ "${1}" = -t ] && stty min 0 time "$(( $2 * 10 ))" >+ ans=`dd count=1 bs=1 2>/dev/null` || ans='' >+ eval "${resettty}" >+ if [ -z "${ans}" ] ; then > printf '\r' > else > echo > fi > case ${ans} in >- [yY]|[yY][eE][sS]) return 0;; >+ [yY]) return 0;; > *) return 1;; > esac > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255528
:
179008
|
179385
|
181693
|
204660
|
259555
|
259747
| 298255