cronie: add /etc/default/anacron.

This commit is contained in:
Leah Neukirchen 2023-11-15 22:24:25 +01:00
parent 6367694721
commit 99cc0211be
3 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1 @@
# ANACRON_RUN_ON_BATTERY_POWER=no

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec vlogger -p cron.notice

View File

@ -1,7 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.7.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-inotify --without-selinux --with-pam
--enable-anacron --enable-pie --enable-relro"
@ -55,6 +55,7 @@ post_install() {
vinstall contrib/anacrontab 644 etc
vinstall contrib/0hourly 644 etc/cron.d
vinstall contrib/0anacron 755 etc/cron.hourly
vinstall ${FILESDIR}/anacron 644 etc/default
# crontab must be setuid
chmod u+s ${DESTDIR}/usr/bin/crontab