Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PDEV=$1 ;# preferred device (partition)
- MP=$2 ;# mount point
- #Added the below 3 lines just to make sure that /dev/mmcblk0p1 and /dev/mmcblk1p1 should not get mounted
- if [ "$PDEV" = "/dev/mmcblk0p1" -o "$PDEV" = "/dev/mmcblk1p1" ] ; then
- exit 0
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement