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" <[EMAIL PROTECTED]>
To: "Nicki de Wet" <[EMAIL PROTECTED]>
Cc: <freebsd-stable@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: [EMAIL PROTECTED]

                                      Powered by ....

                                           (__)
                                        \\\'',)
                                          \/  \ ^
                                          .\._/_)

                                      www.FreeBSD.org



_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to