#!/bin/sh
progdir=$(dirname "$0")
swapoff /mnt/mmc/swap.img
rm -f /mnt/mmc/swap.img
cp -f $progdir/mem/SWAP-OFF.sh $progdir/
rm -f /mnt/mmc/CFW/autostart/swap.sh
$progdir/mem/printstr "512MB Swap file: OFF"
sleep 2
rm -f $0
sync
