Commit Graph

17 Commits

Author SHA1 Message Date
alex
ab0e4951ed Invoke weekly.local and monthly.local if they exist.
Suggested by:	jkh
1996-10-19 21:52:16 +00:00
nate
44df49b453 Fixed *annoying* error with the weekly files. Do you get these whenver
/etc/weekly is run?

Rebuilding locate database: stty: stdin isn't a terminal TERM: Undefined
variable.

'su' apparently runs in root's environment before doing a seteuid(), so
it reads root's .cshrc.  The problem lies in the fact that $prompt is
*always* set by the time the command is executed, so you can't protect
your interactive commands from the non-interactive commands by the
normal:

if ($?prompt) then
   # interactive stuff here
endif

Set the -f flag (su -fm) which causes it not to read root's .cshrc file,
since there should be no reason to do so for these scripts since
/etc/crontab sets up all of the necessary environment.
1996-05-18 20:30:04 +00:00
wosch
39b99669d3 catman -> catman.local
This is currently a no-op, because a wisely man did not
enable catman by default (in comments).
1996-05-13 22:05:10 +00:00
wosch
3da49cdc27 makewhatis -> makewhatis.local 1996-05-12 21:10:34 +00:00
graichen
33c5bdb9ab changed /etc/[daily,weekly,monthly] to not rotate the logfiles by
"hand", changed /etc/crontab to call /usr/sbin/newsyslog every hour
(the entry was there before - but we haven't had any newsyslog until
today :-) and changed /etc/inetd.conf to also contain (commentet out)
entries for rpc.rquotad and rpc.sprayd (taken from NetBSD)
1996-01-05 10:09:13 +00:00
ache
02c5b6cf4f Change non-existent /usr/lib/uucp to /usr/libexec/uucp 1995-09-30 17:50:32 +00:00
mpp
998d53484b Cleanup old kernel database files in /var/db. 1995-07-17 19:36:17 +00:00
rgrimes
22293c7df5 This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.
1995-04-09 09:54:51 +00:00
joerg
1c5e8a2ae0 Make the catman command (in the commented-out example) run by user `man'
instead of `root'.
1995-03-19 10:10:42 +00:00
joerg
5eafab60fa Included the (now use{able,ful}) catman program as an (commented out)
example.
1995-03-15 22:58:19 +00:00
joerg
cd60a37260 gettytab:
Add the `lc' option to default.  Having getty understand the issues of
CAPS-only terminals is a nop these days, but `lc' avoids hassles for
people with CAPS-only user names.

Suggested by: Don Yuniskis


weekly:

Modify the call to makewhatis, now that our makewhatis can take the
entire ${MANPATH} as a single argument.
1995-02-16 10:51:53 +00:00
joerg
cdfef10748 daily:
Leave a warning to the sysop if (s)he didn't yet
	enable the /tmp cleanup code.
	Made `core' in the cleanup template look `*.core'.
	Replace `df -k' by `df -k -t local', since the stats
	for kernfs, procfs etc. are not of much interest, and
	the inclusion of nfs systems might  hang the machine (nor is it a
	`disk' statistic as the headline's telling).
weekly:
	Modified the locate.updatedb part to work even if there's no
	database yet; report errors other than `Permission denied' instead
	of silently ignoring all of them.
	Added functionality to rebuild the whatis database once a week.
1994-10-30 18:20:58 +00:00
guido
f7cd7b6184 Add rotattion of cron log to weekly.
Reviewed by:
Submitted by:	guido
1994-08-11 17:23:29 +00:00
rgrimes
89fe955204 Reenabled rotation of log files and killing of syslogd now that the
lockup problem is fixed.
1993-08-31 16:29:05 +00:00
rgrimes
e02e22db3a Disabled the scan for SCCS checked out files since it was broken and
caused error messages to be mailed, and FreeBSD does NOT have SCCS,
we use CVS!
1993-08-10 11:35:46 +00:00
rgrimes
8261c21fc4 Due to the bug with the console drivers and kill syslogd I have disabled that
in the daily and weekly scripts so that we don't get bug reports about
something we already know.  There are explanory comments in the files.
1993-08-09 15:18:02 +00:00
rgrimes
241ccdeaf3 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00