Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2022
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. info "Checking/performing eMMC one-time configuration..."
  2. blockdev --rereadpt $dev  # check not busy
  3. eval "$(mmc reliable-slc-configuration $dev)"
  4. if [[ $needs_power_cycle ]]; then
  5.     info "Power cycling..."
  6.     exec poweroff
  7. fi
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement