Advertisement
neochapay

Untitled

Nov 1st, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. ~ # cat /data/.stowaways/sailfishos/lib/udev/platform-device
  2. #!/bin/sh
  3. RESULT=`echo "$1" | sed "s|/soc.0\/7824900.sdhci/\([^/]*\)/\([^/]*\)/.*|\1/\2|g"| cut -d'/' -f1`
  4.  
  5. echo ANDROID_BLOCK_DEVICE=$RESULT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement