Is it all about adding something like this to the `/etc/rc.local`:
~~~~
## SWAP to compressed RAM
if [ ! -b /dev/zram0 ]; then
modprobe zram &&\
echo $((2048*1024*1024)) > /sys/block/zram0/disksize &&\
mkswap /dev/zram0 &&\
swapon -p 128 /dev/zram0
fi
~~~~
Do we really need a package for trivial 6 lines script?
--
Best wishes,
Dmitry Smirnov
GPG key : 4096R/53968D1B
---
A wise man proportions his belief to the evidence.
-- David Hume, "An Inquiry Concerning Human Understanding"
Attachment:
signature.asc
Description: This is a digitally signed message part.