bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone
Blob Blame History Raw
#!/bin/bash
# Author: Athmane Madjoudj <athmanem@gmail.com>

# NFS
t_InstallPackage nfs-utils

# Restart because usualy NFS is enabled by default on CentOS-5
t_ServiceControl nfs restart

if (t_GetPkgRel basesystem | grep -q el6)
then
   t_ServiceControl rpcbind restart
else
   t_ServiceControl portmap restart
fi