Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mnt=mount
- root_disk=raspi.img
- mnt_devices="proc dev/pts dev sys"
- for i in $mnt_devices; do
- sudo umount "$mnt"/$i
- done
- sudo umount "$mnt"
- sudo rmdir "$mnt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement