Use random wait only on ATTACH action, not needed on DETACH action.
This commit is contained in:
parent
f27ca34a40
commit
ca49d8250d
|
|
@ -268,10 +268,10 @@ __random_wait() {
|
||||||
DEV=/dev/${1}
|
DEV=/dev/${1}
|
||||||
|
|
||||||
__wait_for_boot
|
__wait_for_boot
|
||||||
__random_wait
|
|
||||||
|
|
||||||
case ${2} in
|
case ${2} in
|
||||||
(attach)
|
(attach)
|
||||||
|
__random_wait
|
||||||
__log "${DEV}: attach"
|
__log "${DEV}: attach"
|
||||||
if [ "${BLACKLIST}" != "" ]
|
if [ "${BLACKLIST}" != "" ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue