View Single Post
KotCzarny's Avatar
Posts: 276 | Thanked: 687 times | Joined on Mar 2008 @ .pl
quick instruction how to make it run on every boot:

new file: /etc/event.d/rc-local
start on MOUNTS_OK

console output
exec /etc/rc.local
new file: /etc/rc.local

echo "[/etc/rc.local]"

/sbin/swapoff -a
/sbin/modprobe ramzswap num_devices=4 disksize_kb=32768
/sbin/mkswap /dev/ramzswap0
/sbin/swapon /dev/ramzswap0
/sbin/swapon -a
as a bonus you can put even more things to run in /etc/rc.local. cheers!
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny

The Following 3 Users Say Thank You to KotCzarny For This Useful Post: