1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Nate Williams
0c9dbb91c3 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
Wolfram Schneider
62824f4907 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
Wolfram Schneider
614231ad5e makewhatis -> makewhatis.local 1996-05-12 21:10:34 +00:00
Thomas Graichen
7c1caee10f 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
Andrey A. Chernov
f86d82c8e8 Change non-existent /usr/lib/uucp to /usr/libexec/uucp 1995-09-30 17:50:32 +00:00
Mike Pritchard
e5b5ec5580 Cleanup old kernel database files in /var/db. 1995-07-17 19:36:17 +00:00
Rodney W. Grimes
1f55ebbcd9 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 Wunsch
ae1f8971f2 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 Wunsch
3ce2ec287b Included the (now use{able,ful}) catman program as an (commented out)
example.
1995-03-15 22:58:19 +00:00
Joerg Wunsch
66b7e31706 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 Wunsch
90c7a938ef 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 van Rooij
2668f73daf Add rotattion of cron log to weekly.
Reviewed by:
Submitted by:	guido
1994-08-11 17:23:29 +00:00
Rodney W. Grimes
c7e82fb0a5 Reenabled rotation of log files and killing of syslogd now that the
lockup problem is fixed.
1993-08-31 16:29:05 +00:00
Rodney W. Grimes
ae253c20de 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
Rodney W. Grimes
cd41d9bac8 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
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00