#!/bin/sh
echo 'Mounting RootFS...'
mount -t ubifs ubi0_0 /tmp/mnt/rootfs
if [ $? -ne 0 ]; then
	echo 'Error: Cannot mount the RootFS.'
else
	echo 'Mounted to /tmp/mnt/rootfs'
fi
