summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-07-24 14:56:44 +0200
committerDave Reisner <dreisner@archlinux.org>2012-07-24 14:56:44 +0200
commit7894028bae5ab8fb9422f5b2274cc9fd2b748e31 (patch)
tree8f579e3f71dd00851f71fab0ad1561454994ad4c /init_functions
parenteab31b017ace36683d314e0891f86e875fdc63b0 (diff)
downloadmkinitcpio-7894028bae5ab8fb9422f5b2274cc9fd2b748e31.tar.gz
mkinitcpio-7894028bae5ab8fb9422f5b2274cc9fd2b748e31.tar.xz
init_functions: use a consistent default rootdelay
init defaults to a rootdelay of 10, but poll_device falls back on a default of 5 if rootdelay is somehow manage during the hook run. Keep this consistent and use 10 seconds in both places. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/init_functions b/init_functions
index 1bebf45..c2223ff 100644
--- a/init_functions
+++ b/init_functions
@@ -10,7 +10,7 @@ err () {
poll_device() {
local device=$1 seconds=${2//[!0-9]}
- [ -z "$seconds" ] && seconds=5
+ [ -z "$seconds" ] && seconds=10
[ -b "$device" ] && return 0