Create a text file (formatted UNIX) with only
Código:
swapon /dev/block/mmcblk0p2;
sysctl -w vm.swappiness=30;
As usual, where 2 is the linux-swap partition number (here is FAT-SWAP so 2, FAT-EXT-SWAP is 3, and so on),
and set swappiness whatever you like.
Then, save it and rename it 25swap
Push it to /etc/init.d
set permissions to rwxr-x---
Reboot
