DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th October 2009
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Thanked 0 Times in 0 Posts
Default /usr/local/etc/periodic does not exist ???

Hi guys!

When i exploring /etc/defaults/periodic.conf i noticed that "periodic script dirs" is:

Quote:
local_periodic="/usr/local/etc/periodic"
but my system doesn't have this folder

Quote:
--$ file /usr/local/etc/periodic
/usr/local/etc/periodic: cannot open `/usr/local/etc/periodic' (No such file or directory)
Can i change this path to /etc/periodic ?
__________________
If anything can go wrong, it will. If it can't, it will anyway
Reply With Quote
  #2   (View Single Post)  
Old 28th October 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 337
Thanked 32 Times in 30 Posts
Default

This directory is created and used by the portaudit port. It's not a problem if it doesn't exist, because there is no reason to do anything with it unless portaudit is installed. You can leave that setting alone, because /etc/periodic is already implied.
Reply With Quote
  #3   (View Single Post)  
Old 29th October 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

And if you ever decide to start writing your own scripts for use with the periodic system, you should put them under /usr/local/etc/periodic, and leave /etc/periodic for the scripts that ship with the system.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #4   (View Single Post)  
Old 3rd November 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
This directory is created and used by the portaudit port. It's not a problem if it doesn't exist, because there is no reason to do anything with it unless portaudit is installed. You can leave that setting alone, because /etc/periodic is already implied.
It's not just for portaudit, there are other ports that use it. Such as pgsql and bsdstats.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Periodic scripts for mail scripts stukov FreeBSD General 2 8th March 2009 07:51 PM
Local transfer is slow. maurobottone OpenBSD General 1 10th January 2009 02:12 PM
local dns (dnsmasq) bsdperson FreeBSD Ports and Packages 3 3rd September 2008 06:48 AM
proxy : replace gif with local gif milo974 OpenBSD General 4 17th July 2008 06:45 AM
Problem: periodic script 800.loginfail anomie FreeBSD Security 1 5th May 2008 08:57 PM


All times are GMT. The time now is 04:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick