projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f03de62
)
Revert "sdelay: reduce function to just one line" due to supposed Bashism.
author
Sebastian Pipping
<sebastian@pipping.org>
Wed, 12 Jan 2011 15:23:45 +0000
(16:23 +0100)
committer
Sebastian Pipping
<sebastian@pipping.org>
Wed, 12 Jan 2011 15:24:17 +0000
(16:24 +0100)
This reverts commit
f03de62e7d52017bf44cef35f176e5ab4f28ce92
.
defaults/initrd.scripts
patch
|
blob
|
history
diff --git
a/defaults/initrd.scripts
b/defaults/initrd.scripts
index d672e5575511320bc4413d6386aa35fc9534968a..4da6968492db40af3fc99875ca6f2db8e5a29a8e 100755
(executable)
--- a/
defaults/initrd.scripts
+++ b/
defaults/initrd.scripts
@@
-883,7
+883,12
@@
startLUKS() {
sdelay() {
# Sleep a specific number of seconds if SDELAY is set otherwise only sleep
# 3 seconds, which is a much better default than 1 second (previous default)
- sleep ${SDELAY:-3}
+ if [ "${SDELAY}" ]
+ then
+ sleep ${SDELAY}
+ else
+ sleep 3
+ fi
}
quiet_kmsg() {