#!/bin/bash# Author: Athmane Madjoudj <athmanem@gmail.com> # NFSt_InstallPackage nfs-utils if (t_GetPkgRel basesystem | grep -q el6)then t_ServiceControl rpcbind restartelse t_ServiceControl portmap restartfi # Restart because usualy NFS is enabled by default on CentOS-5t_ServiceControl nfs restart