Advertisement
Guest User

Untitled

a guest
Oct 30th, 2011
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. PDEV=$1 ;# preferred device (partition)
  2. MP=$2 ;# mount point
  3.  
  4. #Added the below 3 lines just to make sure that /dev/mmcblk0p1 and /dev/mmcblk1p1 should not get mounted
  5. if [ "$PDEV" = "/dev/mmcblk0p1" -o "$PDEV" = "/dev/mmcblk1p1" ] ; then
  6. exit 0
  7. fi
  8.  
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement