bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

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
4553eb
if [ "$centos_ver" = "5" ] ; then
4553eb
   t_serviceControl portmap restart
Athmane Madjoudj 43f4bc
else
4553eb
   t_ServiceControl rpcbind restart
Athmane Madjoudj 43f4bc
fi
df32b1
df32b1
# Restart because usualy NFS is enabled by default on CentOS-5
df32b1
t_ServiceControl nfs restart