Re: cfengine cron job
However, the best thing to do would be for cfengine to run without error straight from the package. Even if cfengine doesn't do anything, it shouldn't look ugly. -- Kevin Dalley [EMAIL PROTECTED] Ben == Ben Collins [EMAIL PROTECTED] writes: On Mon, Dec 14, 1998 at 12:20:51PM +, Graham Ashton wrote: What would be the most debian friendly way of disabling it? I thought of removing the cfengine package, but then thought that there might be a less heavy handed approach, other than deleting/moving the files from /etc/cron.daily and /etc/cron.weekly. Execute this command: /usr/sbin/dpkg-divert --local --add --rename --divert /etc/cron.daily/cfengine /etc/cron.daily/cfengine.norun
Re: cfengine cron job
On Tue, Dec 15, 1998 at 01:33:04AM -0800, Kevin Dalley wrote: However, the best thing to do would be for cfengine to run without error straight from the package. Even if cfengine doesn't do anything, it shouldn't look ugly. Good point, since I'm a new maintainer for it, and actually never installed it with out configuring it, I never noticed. I'll fix it, maybe it will get into slink. -- --- - - --- - - - --- Ben Collins [EMAIL PROTECTED] Debian GNU/Linux UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED] -- -- - - - --- --- -- The Choice of the GNU Generation
Re: cfengine cron job
On Mon, Dec 14, 1998 at 12:20:51PM +, Graham Ashton wrote: What would be the most debian friendly way of disabling it? I thought of removing the cfengine package, but then thought that there might be a less heavy handed approach, other than deleting/moving the files from /etc/cron.daily and /etc/cron.weekly. Execute this command: /usr/sbin/dpkg-divert --local --add --rename --divert /etc/cron.daily/cfengine /etc/cron.daily/cfengine.norun This will move the cron file so that dpkg knows you did it. Also the '.' in the new name will make run-parts not run it (norun :). To mave it back: /usr/sbin/dpkg-divert --remove /etc/cron.daily/cfengine.norun good luck, Ben -- --- - - --- - - - --- Ben Collins [EMAIL PROTECTED] Debian GNU/Linux UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED] -- -- - - - --- --- -- The Choice of the GNU Generation
Re: cfengine cron job
On 14 Dec, Ben Collins wrote: Execute this command: /usr/sbin/dpkg-divert --local --add --rename --divert /etc/cron.daily/cfengine /etc/cron.daily/cfengine.norun wow. how cool is debian? thanks a lot. [scuttles off to see what else dpkg-divert can do...] -- Graham