#!/extra/busybox ash

# Startup sanity checks

if [ ! -x /extra/busybox ]; then
        echo "Cannot execute /extra/busybox... Is this a geniune Zefie release?"
        exit
fi

if [ $(/extra/busybox mount | /extra/busybox grep /data | /extra/busybox wc -l) != 1 ]; then
	echo "Cannot verify /data is mounted."
fi

/extra/busybox rm -rf /data/tombstones/*

