Blame tests/p_nfs/0-install_nfs.sh

Steve Barnes 723e7b
#!/bin/bash
Steve Barnes 723e7b
# Author: Athmane Madjoudj <athmanem@gmail.com>
Steve Barnes 723e7b
Steve Barnes 723e7b
# NFS
Athmane Madjoudj d2d805
t_InstallPackage nfs-utils
Steve Barnes 723e7b
Athmane Madjoudj 010b99
Athmane Madjoudj 43f4bc
if (t_GetPkgRel basesystem | grep -q el6)
Athmane Madjoudj 43f4bc
then
Athmane Madjoudj 43f4bc
   t_ServiceControl rpcbind restart
Athmane Madjoudj 43f4bc
else
Athmane Madjoudj 43f4bc
   t_ServiceControl portmap restart
Athmane Madjoudj 43f4bc
fi
df32b1
df32b1
# Restart because usualy NFS is enabled by default on CentOS-5
df32b1
t_ServiceControl nfs restart