op_storage.sh: Added sleep after removal of g_cdc module
authorMichael Mrozek <EvilDragon@openpandora.de>
Wed, 30 Jun 2010 01:07:26 +0000 (03:07 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Wed, 30 Jun 2010 01:07:26 +0000 (03:07 +0200)
recipes/pandora-system/pandora-scripts/op_storage.sh

index fd2b568..910443b 100755 (executable)
@@ -13,6 +13,7 @@ if umount $device
        then
        echo Found g_cdc - removing...
        rmmod g_cdc
+       sleep 2
        ethernet=1
     fi
    modprobe g_file_storage file=$device stall=0