Lines 71-88
Link Here
|
71 |
newconfd "${S}"/crond.sysconfig ${PN} |
71 |
newconfd "${S}"/crond.sysconfig ${PN} |
72 |
|
72 |
|
73 |
insinto /etc |
73 |
insinto /etc |
74 |
newins "${FILESDIR}/${PN}-crontab" crontab |
|
|
75 |
newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny |
74 |
newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny |
76 |
|
75 |
|
77 |
insinto /etc/cron.d |
|
|
78 |
doins contrib/0hourly |
79 |
|
80 |
newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN} |
76 |
newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN} |
81 |
newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond |
77 |
newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond |
82 |
|
78 |
|
83 |
systemd_newunit contrib/cronie.systemd cronie.service |
79 |
systemd_newunit contrib/cronie.systemd cronie.service |
84 |
|
80 |
|
85 |
if use anacron ; then |
81 |
if use anacron ; then |
|
|
82 |
insinto /etc |
83 |
newins "${FILESDIR}/${PN}-crontab" crontab |
84 |
|
86 |
local anacrondir="/var/spool/anacron" |
85 |
local anacrondir="/var/spool/anacron" |
87 |
keepdir ${anacrondir} |
86 |
keepdir ${anacrondir} |
88 |
fowners root:cron ${anacrondir} |
87 |
fowners root:cron ${anacrondir} |
Lines 91-102
Link Here
|
91 |
insinto /etc |
90 |
insinto /etc |
92 |
doins contrib/anacrontab |
91 |
doins contrib/anacrontab |
93 |
|
92 |
|
|
|
93 |
insinto /etc/cron.d |
94 |
doins contrib/0hourly |
95 |
|
94 |
insinto /etc/cron.hourly |
96 |
insinto /etc/cron.hourly |
95 |
doins contrib/0anacron |
97 |
doins contrib/0anacron |
96 |
fperms 0750 /etc/cron.hourly/0anacron |
98 |
fperms 0750 /etc/cron.hourly/0anacron |
97 |
else |
99 |
else |
98 |
insinto /etc/cron.d |
100 |
insinto /etc |
99 |
doins contrib/dailyjobs |
101 |
newins "${FILESDIR}/${PN}-crontab-no-anacron" crontab |
|
|
102 |
|
103 |
keepdir /etc/cron.d |
104 |
#insinto /etc/cron.d |
105 |
#doins contrib/dailyjobs |
100 |
fi |
106 |
fi |
101 |
|
107 |
|
102 |
einstalldocs |
108 |
einstalldocs |