aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2016-02-11 22:58:05 -0800
committerEthan Chen <intervigil@gmail.com>2016-02-11 23:01:38 -0800
commit4def3233eb8ea7fcedc4bf5cb43114e0f165de01 (patch)
treee784b36054f1aa10787f54b82fb6351694921c1c
parent40fa6019a80afb17234a5ebea7f0263b24b0142e (diff)
msm8960dt: Fix mount_pds script for toybox
Change-Id: I5920c53de18260d743baa6205b5d7cdd3b8386a1
-rwxr-xr-xrootdir/etc/mount_pds.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/etc/mount_pds.sh b/rootdir/etc/mount_pds.sh
index 4ad51b5..fa2cbd5 100755
--- a/rootdir/etc/mount_pds.sh
+++ b/rootdir/etc/mount_pds.sh
@@ -4,12 +4,12 @@ export PATH=/system/xbin:$PATH
if [ ! -f /cache/pds-CM10.img ]
then
#make a copy of pds in /cache
- /system/xbin/dd if=/dev/block/platform/msm_sdcc.1/by-name/pds of=/cache/pds-CM10.img
+ /system/bin/dd if=/dev/block/platform/msm_sdcc.1/by-name/pds of=/cache/pds-CM10.img
echo "Backed up PDS"
fi
#mount the fake pds
-/system/xbin/losetup /dev/block/loop0 /cache/pds-CM10.img
-/system/xbin/busybox mount -o rw /dev/block/loop0 /pds
+/system/bin/losetup /dev/block/loop0 /cache/pds-CM10.img
+/system/bin/mount -o rw /dev/block/loop0 /pds
/system/bin/restorecon -R /pds
echo "Mounted PDS"