PDA

View Full Version : How to set up SWAP on AZBox HDD



minoarpi
20-02-2010, 05:23 PM
I'm a newbie into azbox and linux based systems. I try to set up set up SWAP on my Azbox HDD by following the instructions I found but not sure what I am doing wrong. I saved the file swapon from Monkus tool under Plugins/OpenXCas.
Swapon.sh looks like this:

DD=/bin/dd
FREE=/usr/bin/free
GREP=/bin/grep
MKSWAP=/sbin/mkswap
MOUNT=/bin/mount
SED=/bin/sed
SLEEP=/bin/sleep
SWAPON=/sbin/swapon
WEBIF=$1

# choose device, where to create swapfile
SWAPDEVICE=/DATA/hdb1
#SWAPDEVICE=/DATA/usb1/sda1

SWAPFILE=swapfile
#SWAPSIZE=204800
SWAPSIZE=102400

I know that probably something has to be set up also in Disk2/etc/start.d but I do not know how. I even tried to activate it via Telnet but no luck.

I would appreciate some hints or some step by step manual (or link here I can find it).
Thanks in advance.