From da59d604fb9c0e8a286a8f62cffe0ecd4f4b9408 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Oct 2016 21:37:33 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- cron.deny | 2 +- crontab | 13 ++++++------- init.d/cronie | 6 +++--- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/cron.deny b/cron.deny index f909922..42cdd5f 100644 --- a/cron.deny +++ b/cron.deny @@ -1,4 +1,4 @@ -# $Id: cronie-1.2-cron.deny,v 1.1 2009/02/17 22:09:35 bangert Exp $ +# $Id$ # If for any reason you have users in the 'cron' group who should not # be allowed to run crontab, add them to this file (one username per # line) diff --git a/crontab b/crontab index b14eeda..14a6b9b 100644 --- a/crontab +++ b/crontab @@ -1,5 +1,5 @@ # for cronie -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-crontab,v 1.2 2014/04/18 13:24:55 polynomial-c Exp $ +# $Id$ # Global variables SHELL=/bin/bash @@ -8,9 +8,8 @@ MAILTO=root HOME=/ # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly -# if anacron is not present -59 * * * * root [ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.hourly -9 3 * * * root [ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.daily -19 4 * * 6 root [ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.weekly -29 5 1 * * root [ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.monthly -*/10 * * * * root [ ! -x /etc/cron.hourly/0anacron ] && { test -x /usr/sbin/run-crons && /usr/sbin/run-crons ; } +59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly +9 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily +19 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly +29 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly +*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons diff --git a/init.d/cronie b/init.d/cronie index 138530f..781ff67 100755 --- a/init.d/cronie +++ b/init.d/cronie @@ -1,7 +1,7 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-initd,v 1.3 2014/03/04 00:17:58 polynomial-c Exp $ +# $Id$ command="/usr/sbin/crond" command_args="${CRONDARGS}" -- 2.39.5