#!/system/bin/sh) {, q8 a, C% ?1 w( b8 e
# data swap team+ \2 \) ~& c3 C% A6 n
mount -o remount,rw /data5 O0 @+ F, e9 T& _9 `% D6 D$ S
swapoff /dev/block/loop7
: |* P' ` Q+ o! T4 _$ N; W dd if=/dev/zero of=/data/swap.img bs=1024 count=524292
. |* |% v8 I9 r3 z busybox losetup /dev/block/loop7 /data/swap.img
0 L {8 y- v" G mkswap /dev/block/loop7
2 [3 o5 R$ ~8 { echo 75 > /proc/sys/vm/swappiness# l2 j( |$ w+ @5 }
swapon /dev/block/loop7
: M. ?9 _; N. J1 ^' P% ]5 B7 x$ T5 M chmod 777 /cache/swap.img
* B; m* k9 X) k( r1 R; |9 b2 E+ {' i1 |: i8 R5 x, l
swapon /dev/block/mmcblk0p3! `# ~9 y" v7 w: Q7 M- m Y
fi0 k! G2 t+ k3 J/ F; }" h
exit
( h# `3 I: Q! M: y+ H |