You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
247 B
14 lines
247 B
12 months ago
|
#!/bin/bash
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
|
||
|
t_Log "$0 - Installing crond"
|
||
|
if (t_GetPkgRel basesystem | grep -q -E 'el6|el7|el8|el9')
|
||
|
then
|
||
|
pn="cronie"
|
||
|
else
|
||
|
pn="vixie-cron"
|
||
|
fi
|
||
|
|
||
|
t_InstallPackage $pn
|
||
|
t_ServiceControl crond cycle
|