daily pastebin goal
35%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # we wait up to 15 seconds (+/- a few) for usb-storage to settle down
  2. for loop in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
  3.     device=$(find_backing_device)
  4.     [ -n "$device" ] && break
  5.     sleep 1
  6. done
  7. [ -z "$device" ] && exit 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top