Posted by: Admin
OpenPli 4.0 : Create Swap - 01/09/16 07:02 PM
This is the way to create a SWAP on your DM running OpenPLi 4.0 from MastaG,
Enjoy,
Admin
Code:
dd if=/dev/zero of=/media/usb/swapfile bs=1048576 count=128; mkswap /media/usb/swapfile sed -i '/usb\/swapfile/d' /etc/fstab; echo -e '/media/usb/swapfile swap swap defaults 0 0' >> /etc/fstab swapon /media/usb/swapfile
Enjoy,
Admin