bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_tftp-server/0-install_tftp-server.sh

Athmane Madjoudj 81d17c
#!/bin/bash
Athmane Madjoudj 81d17c
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 81d17c
Athmane Madjoudj 81d17c
t_InstallPackage tftp-server xinetd tftp
Athmane Madjoudj 81d17c
Athmane Madjoudj 81d17c
# Enable tftp
Athmane Madjoudj 81d17c
sed -i 's/\(disable\s*=\ \)yes/\1no/' /etc/xinetd.d/tftp
Athmane Madjoudj 81d17c
Athmane Madjoudj 81d17c
t_ServiceControl xinetd start