#!/bin/sh -e
. get_root
if [ -e /windows/WINDOWS ]; then umount -l /windows ; fi
if [ -e /media/store ]; then umount -l /media/store; fi
if [ -e /media/flash ]; then umount -l /media/flash; fi
#tmpswap="/tmp/swap.$$"
#hole "$tmpswap" $((1024*1024*1024*4))
#mkswap "$tmpswap"
#swapon "$tmpswap"
swapoff -a
swapon /dev/sda1
#swapoff "$tmpswap"
#rm "$tmpswap"
/sbin/s2both
