Commit Graph

349 Commits

Author SHA1 Message Date
Garrett Wollman
fabbf734e5 Change named starting convention to use $namedflags like most other
daemons that take command-line arguments.  Correct /etc/namedb installation
to use the correct files.
1995-03-21 16:44:04 +00:00
Jordan K. Hubbard
e017475bed Begin a long-overdue cleanup of this whole mess.
1. Move all system configuration variables into /etc/sysconfig
2. Adapt other files to use it.
3. Add a host of new variables for micro-managing your system in various
   ways.  For 2.1, /etc/sysconfig will be machine-edited so that the user
   doesn't even have to care at all about the various funny names we picked.
4. Enable dset.  We won't get it debugged if we never use it, and no one
   has said anything negative about it yet, so here goes!
5. Try to use one consistent style throughout.
1995-03-21 15:20:48 +00:00
Rodney W. Grimes
5ccb11c757 Remove extra fi that caused this script to fail during boot. 1995-03-17 17:57:24 +00:00
Garrett Wollman
9d3b840f0a Semi-major RC file cleanup:
- Do ntp right
- Move recenrly-added and long-standing junk from rc.local into rc, so
. that rc.local truly is LOCAL.
- Fix named invocation to use the correct boot file location.
1995-03-16 16:58:01 +00:00
Jordan K. Hubbard
7119fe23a7 Disable dset for now - Bruce says it hoses the show. 1995-01-26 19:04:29 +00:00
Jordan K. Hubbard
e64b174386 Add dset call to rc file, right after the databases are rebuilt. 1995-01-24 16:49:14 +00:00
Andrey A. Chernov
2ef751df5e timedflags quoted
Submitted by: root@uglabgw.ug.cs.sunysb.edu
1994-12-18 01:21:51 +00:00
Andrey A. Chernov
eb1759f18c Add yet one locale example, this time ISO8859-1 as most common example.
Add reference where find full locales list
1994-12-05 19:46:35 +00:00
Andrey A. Chernov
23826a9d2a Call rc.local with . instead of sh to pass variables
Submitted by: John Capo
1994-11-26 19:25:14 +00:00
Scott Mace
4f64b36cda fix if test for rwhod. 1994-11-17 08:28:02 +00:00
Poul-Henning Kamp
13cd44971d Only so savecore if people ask for it. 1994-11-07 04:02:26 +00:00
Andrey A. Chernov
a3d3b73b53 Restore back -i for adjkerntz 1994-11-02 09:43:38 +00:00
Andrey A. Chernov
49d3f00136 Remove -i options from adjkerntz call 1994-11-01 16:24:03 +00:00
Andrey A. Chernov
eee7222a59 Add commented out startup locale setup, needed for some daemons
like comsat
1994-10-30 04:33:57 +00:00
David Greenman
d061325a87 Moved swapon -a to before the fsck. It isn't possible to run fsck on
moderately sized filesystems on 4MB machines otherwise.
1994-10-25 08:23:02 +00:00
Paul Traina
46cf1ccdf3 Add nfs_client and amdflags 1994-09-29 17:27:46 +00:00
Paul Traina
3639a13133 Remove elvis editor preserve stuff. We don't have elvis in 2.0 (nor am
I aware of anyone who wants it given that we have nvi).
1994-09-26 16:52:04 +00:00
Garrett Wollman
e159683524 Don't pass a filename to kvm_mkdb, it can figure out the correct file
on its own.
1994-09-24 03:42:08 +00:00
David Greenman
45945cd71c root must be remounted read/write fairly early in the startup procedure
both for NFS diskless and for VFS LKMs.
1994-09-23 18:02:22 +00:00
Rodney W. Grimes
09c1b7e45d fbtab: Pulled down from Attic, fixed spaces to tabs.
make.conf: Pulled in the following changes that had been commited
to share/examples/etc:
	----------------------------
	revision 1.6
	date: 1994/09/20 22:30:33;  author: adam;  state: Exp;  lines: +3 -3
	BOOTWAIT example converted to milliseconds calibration
	----------------------------
	revision 1.4
	date: 1994/09/19 21:35:28;  author: wollman;  state: Exp;  lines: +7 -1
	Document NO_SHARED_LIBCC_INT.
	----------------------------
	revision 1.3
	date: 1994/09/19 21:28:11;  author: wollman;  state: Exp;  lines: +12 -17
	Install /etc from the same source as /usr/share/examples/etc (mostly).
	----------------------------
	revision 1.2
	date: 1994/09/19 02:05:08;  author: ache;  state: Exp;  lines: +1 -11
	Remove STARTUP_LOCALE, obsoleted now
	----------------------------
	revision 1.1
	date: 1994/09/08 19:08:59;  author: jkh;  state: Exp;
	Add a sample make.conf.  Also document the new X11BASE variable, and
	expand some of the documentation for other entries.
	Submitted by:   jkh
	----------------------------

manpath.config: Pulled down from Attic, and merged share/examples/etc
changes.

rc: Pulled in the following change from share/examples/etc:
	----------------------------
	revision 1.2
	date: 1994/09/19 23:13:37;  author: ache;  state: Exp;  lines: +1 -2
	Remove warning about adjkerntz /var/run file
	----------------------------
1994-09-23 07:16:16 +00:00
Poul-Henning Kamp
b063221c8c nfsiod should be started if this is a NFS-client, not if it is a server.
look for "nfs" in etc/fstab, and start it if we see it.  Not quite perfect,
but better.  mount_nfs should start it, if it isn't running.
1994-09-15 02:21:39 +00:00
David Greenman
208d6b3588 1) adapted to a world without "fastboot" and "fasthalt".
2) updated to work with 2.0/4.4 binaries.
1994-08-21 04:28:44 +00:00
Poul-Henning Kamp
2e3ceddd61 check for diskless boot, and remount / RW in that case. 1994-06-06 17:45:37 +00:00
Andreas Schulz
aee153581e Comment out the startup of the xtend daemon by default. 1994-06-05 16:03:57 +00:00
Andrey A. Chernov
b3108fb8a1 Now rc.serial used for initial setup of serial lines 1994-06-04 00:44:00 +00:00
Paul Richards
eb865f3871 Added
if [ -x /usr/libexec/xtend ]; then
          echo -n ' xtend';   /usr/libexec/xtend
     fi

to etc/rc
1994-06-01 17:04:01 +00:00
Andrey A. Chernov
b04a36b2c2 Path of uucp lock/temp corrected 1994-05-23 11:22:10 +00:00
Jordan K. Hubbard
c289dd0485 Fix to handle routed with multiple args from Andy J. Chichak.
This should go into 1.1 Release if it's not too late.
1994-04-25 15:33:12 +00:00
Rich Murphey
0bd9d48a0b Add /usr/X11R6/lib to the ldconfig path if it exists. 1994-03-25 04:58:58 +00:00
Poul-Henning Kamp
7acbd5f0b0 Added tickadj to start of xntpd, this improves performance to nominal. 1994-02-27 15:32:09 +00:00
Rodney W. Grimes
dc19eae2f3 Correction so that elvisrecover finds the right files!
>From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
Date: Fri, 21 Feb 1992 09:40:35 +0100 (MET)

The last version expected elvis* files in /var/tmp, while elvis puts
elv* files there.
1994-02-21 11:28:45 +00:00
Rodney W. Grimes
8dca1d0c45 Move ldconfig stuff to be after nfs mounts. 1994-02-21 03:16:43 +00:00
Rodney W. Grimes
14eb9f1236 Put back in elvis recovery stuff, we still ship elvis with 1.1 as a fall
back editor!

Add nvi recovery precedure from man page.

Fix ntpdate echo lines so that it looks pretty (ntpdate spits out 1 line
of output that makes the system boot up look real ugly if you do it
echo -n, so I chaged it to echo, and then added a
echo -n 'starting more network daemons:' so any addition daemon starts
look normal.
1994-02-21 02:47:47 +00:00
Christoph Robitschko
799175967e Use find -d to clear /tmp, to stop warnings.
Removed elvispreserve command, nvi does not use it, and it was also wrong
for elvis.
1994-02-02 08:02:37 +00:00
Guido van Rooij
3b15f669f7 This is Vixie cron 3.0. This version fixes all known security bugs.
Further it implements crontab -e.
I moved cron from /usr/libexec to /usr/sbin where most daemons are
that are run from rc. That also gets rid of the ugly path crond
used to have in ps(1) outputs. Further I renamed it to cron, as
Paul Vixie likes it and is done by NetBSD.

NOTE VERY WELL THE FOLLOWING:

1) Systems crontab changed. Every users crontab resides in /var/cron
   *EXCEPT* root's. This is a special crontab as it resides in
   /etc. Further it is the *ONLY* crontab file in which you specify
   usernames. See /usr/src/etc/crontab. This is also done by BSDI's
   BSD/386 as far as I know (they provided the patches for it anyway)
2) So you *must* delete root's crontab and reinstall the copy
   in /etc from /usr/src/etc.
   'Must' is to much: the old installed crontab will work but cron
   will also try to 'run' /etc/crontab.
3) Last but not least: cron's logging is now done via syslog. Note
   that logging by cron is done lowercase when it logs about itsself
   and uppercase when it logs user events, like installing a new crontab.
   The default logfile file is the same as before:
   	syslog.conf:cron.*	/var/cron/log

-Guido
1994-01-22 20:44:14 +00:00
Andrey A. Chernov
6fc95dbcaa Move "mount -a -t nfs" *after* network daemons,
must be at least after named & gated for proper name resolution.
1994-01-08 17:49:47 +00:00
Andrey A. Chernov
ae73cec93c Add warning comment line (rm anything into /var/run) 1994-01-04 18:06:18 +00:00
Jordan K. Hubbard
752d10d34e Added more robust ldconfig setting in rc, removed redundant ldconfig in
rc.local.
1993-12-30 18:19:18 +00:00
Garrett Wollman
dc8989b140 Support for automatically running ntpdate and xntpd. 1993-12-21 21:28:12 +00:00
Andrey A. Chernov
fc6d248540 Fix sendmail_flags, long ago it was imported from /etc/netstart
with this bug.
1993-12-21 02:58:15 +00:00
Andrey A. Chernov
80b13029cb adjkerntz call added with explanation comment 1993-12-17 04:20:30 +00:00
David Greenman
daac7d88f8 Moved startup of portmap to be the first network daemon. 1993-12-13 08:28:03 +00:00
Rich Murphey
0da22b8b69 allow spaces in $sendmail_flags. 1993-11-30 16:59:27 +00:00
David Greenman
af70ab7293 Don't start update daemon; it's now internel to the kernel. 1993-11-25 13:23:46 +00:00
Rich Murphey
65f9ff3f2f /var/run is cleared on boot. Rerun 'ldconfig /usr/X386/lib' after
clearing /var/run if /sbin/ldconfig exists.
1993-11-24 05:17:14 +00:00
Garrett Wollman
d55a595346 Added a new flag variable to /etc/netstart, $sendmail_flags, which
gives the flags to be passed to sendmail when it is started.  (If it is
"NO", sendmail is not started.)  Also, always start the portmapper regardless
of the value of $nfs_server; this should prevent the inetd complaints we
have seen from recurring.
1993-11-07 01:19:06 +00:00
Steven Wallace
35a3da3475 Changed -r /fastboot to -e /fastboot. File just needs to exist for fastboot.
Otherwise, doesn't work for non-root owner of /fastboot.
1993-08-24 06:15:36 +00:00
Rodney W. Grimes
d6b77d5024 Removed the foreground/background escape sequences that cause headaches
if you are using a com console or a non pc3 console.
1993-07-19 18:55:38 +00:00
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00