# Sets up nfs
if ! grep "^/usr/tms " /etc/exports > /dev/null 2>&1
then
echo "/usr/tms *.tmsnet(async,ro)" >> /etc/exports
fi
if ! grep "^/usr/tms/rootfs " /etc/exports > /dev/null 2>&1
then
echo "/usr/tms/rootfs *.tmsnet(async,rw,no_root_squash)" >> /etc/exports
fi
if ! grep "^/usr/tms/rootfs-1 " /etc/exports > /dev/null 2>&1
then
echo "/usr/tms/rootfs-1 *.tmsnet(async,rw,no_root_squash)" >> /etc/exports
fi
if ! grep "^/usr/tms/rootfs-2 " /etc/exports > /dev/null 2>&1
then
echo "/usr/tms/rootfs-2 *.tmsnet(async,rw,no_root_squash)" >> /etc/exports
fi
if ! grep "^/usr/tms/rootfs-3 " /etc/exports > /dev/null 2>&1
then
echo "/usr/tms/rootfs-3 *.tmsnet(async,rw,no_root_squash)" >> /etc/exports
fi
if ! grep "^/usr/tms/rootfs-4 " /etc/exports > /dev/null 2>&1
then
echo "/usr/tms/rootfs-4 *.tmsnet(async,rw,no_root_squash)" >> /etc/exports
fi
if ! grep "^/data " /etc/exports > /dev/null 2>&1
then
echo "/data *.tmsnet(async,rw,no_root_squash)" >> /etc/exports
fi