local periodic executed twice
Nicki de Wet
nicki at astcape.co.za
Tue Feb 19 10:25:57 UTC 2008
Willy,
You are right, I can actually put it in /etc/periodic.conf.
The periodic scripts all contain the following line:
. /etc/defaults/periodic.conf
This file contains the following:
# periodic script dirs
local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic"
On the system where I had the problem, /usr/X11R6 points to /usr/local, so
the scripts get executed twice.
By overriding it with
local_periodic="/usr/local/etc/periodic"
the 2nd call is removed.
Regards,
Nicki
----- Original Message -----
From: "Willy Offermans" <Willy at Offermans.Rompen.nl>
To: "Nicki de Wet" <nicki at astcape.co.za>
Cc: <freebsd-stable at FreeBSD.ORG>
Sent: Tuesday, February 19, 2008 11:50 AM
Subject: Re: local periodic executed twice
> Hello Nicki and FreeBSD friends,
>
> On Tue, Feb 19, 2008 at 09:54:50AM +0200, Nicki de Wet wrote:
>> I found a solution for the local periodic scripts that is executed twice.
>> Various pages on the net suggested putting
>> local_periodic="/usr/local/etc/periodic" in /etc/rc.conf.
>>
>> This did not work, I found the solution to be to put it in
>> /etc/periodic.conf.local.
>>
>> Regards,
>> Nicki
>>
>
> Sorry I missed the e-mail thread completely, but I want to add the
> following:
>
> koko ~>cat /etc/periodic.conf
> # added by mergebase.sh
> local_periodic="/usr/local/etc/periodic"
>
> So there is a file in /etc, called periodic.conf with the statement:
> local_periodic="/usr/local/etc/periodic"
>
> So why do you use /etc/periodic.conf.local? Is periodic.conf.local not
> touched by a possible FreeBSD upgrade? Is
> local_periodic="/usr/local/etc/periodic" not the default?
>
>
> --
> Met vriendelijke groeten,
> With kind regards,
> Mit freundlichen Gruessen,
> De jrus wah,
>
> Willy
>
> *************************************
> W.K. Offermans
> Home: +31 45 544 49 44
> Mobile: +31 653 27 16 23
> e-mail: Willy at Offermans.Rompen.nl
>
> Powered by ....
>
> (__)
> \\\'',)
> \/ \ ^
> .\._/_)
>
> www.FreeBSD.org
>
>
More information about the freebsd-stable
mailing list