From ca49d8250d609fac5ab8906c70668ff8f0139a07 Mon Sep 17 00:00:00 2001 From: "Slawomir Wojciech Wojtczak (vermaden)" Date: Wed, 3 Apr 2013 09:15:16 +0200 Subject: [PATCH] Use random wait only on ATTACH action, not needed on DETACH action. --- automount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automount b/automount index 7f583e6..dd75a59 100755 --- a/automount +++ b/automount @@ -268,10 +268,10 @@ __random_wait() { DEV=/dev/${1} __wait_for_boot -__random_wait case ${2} in (attach) + __random_wait __log "${DEV}: attach" if [ "${BLACKLIST}" != "" ] then