Blame tests/p_cron/0-install_cron.sh

Athmane Madjoudj 4f8977
#!/bin/bash
Athmane Madjoudj 4f8977
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 4f8977
Athmane Madjoudj 4f8977
t_Log "$0 - Installing crond"
Athmane Madjoudj 4f8977
if (t_GetPkgRel basesystem | grep -q el6)
Athmane Madjoudj 4f8977
then
Karanbir Singh 3d6990
  pn="cronie"
Athmane Madjoudj 4f8977
else
Karanbir Singh 3d6990
  pn="vixie-cron"
Athmane Madjoudj 4f8977
fi
Athmane Madjoudj 4f8977
Karanbir Singh cf1376
t_InstallPackage  $pn
Karanbir Singh cf1376
t_ServiceControl crond cycle