#!/bin/sh

model=`cat /etc/model`

if [ "$model" = "ufs910" ];then
	if [ -e /var/swapdir/swapfile ];then
		echo "mount /tmp (60mb)"
		mount -t tmpfs -o remount,size=60m,mode=1777 tmp /tmp
	else
		echo "Error, please use swapdir/swapfile and try again !"
		exit 1
	fi
fi

exit 0
