#!/bin/sh

PART=/dev/mmcblk1p6
APPDATA=/mnt/appdata

case "$1" in
    start)
	umount $PART
	fsck -y $PART
	mount $PART $APPDATA
esac
