script for nfs mount point
i have create the bash script for nfs but in this script asking for mount point only once it is it prompting for second time.
example: do you wants to create any other mount point [yes/no]?
note(if i give yes it should ask me to add the mount point else it should proceed with next step) it should ask each and every time if i give "yes" and add the mount point in it...
echo " enter the mount point name"
echo "$e *(rw,sync,no_root_squash)" >>/etc/exports
"Note:here it should ask again if any mount point needs to be added or not?
if yes it should start from again.."
service nfs restart
chkconfig nfs on