This will give you a swapfile
$this->bbcode_second_pass_code('', 'dd if=/dev/zero of=/swapfile bs=1M count=512
mkswap /swapfile.img
swapon /swapfile.img')Put this in rc.local
$this->bbcode_second_pass_code('', '/sbin/swapon /swapfile.img')
Dave
Users browsing this forum: No registered users and 3 guests