Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- info "Checking/performing eMMC one-time configuration..."
- blockdev --rereadpt $dev # check not busy
- eval "$(mmc reliable-slc-configuration $dev)"
- if [[ $needs_power_cycle ]]; then
- info "Power cycling..."
- exec poweroff
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement