Commit Graph

68 Commits

Author SHA1 Message Date
wollman
7d4b8f84f0 Not sure if Rod is still working in these or not, so here goes.
Add nis_ypsetflags sysconfig entry and appropriate code in rc to call
ypset if needed.  Should probably automatically add `-ypsetme' to ypbind
flags if this is set.
1995-07-20 16:26:26 +00:00
bde
f0f95a88b6 Optionally set the dump device. 1995-06-25 04:01:32 +00:00
rgrimes
80a0428f98 The ``mount -a -t nfs'' should never have been backgrounded. If you
have non-critical nfs volumes in /etc/fstab they should have option bg
on them.  The behavior of the system is more tuneable this way, and
allows a slow mounting /usr over nfs to work.

Submitted by:	bde
1995-05-15 19:50:59 +00:00
dg
138edd5273 Fixed incompleteness that would allow dirty filesystems to get mounted
when the single user shell was terminated. These changes disallow mounting
or R/W upgrading filesystems that are dirty unless "-f" (force) option
is used with mount. /etc/rc has been modified to abort the startup if
one or more non-nfs partitions fail to mount.

Reviewed by:	Poul-Henning Kamp, Rod Grimes
1995-05-15 08:39:37 +00:00
jkh
d86322bd5b Document the fact that almost all the user configuration stuff is now
in /etc/sysconfig, per Luigi's suggestion.
1995-05-11 21:11:17 +00:00
ache
b043f23fb9 Add -r to rm -f /var/spool/uucp/.Temp/* 1995-04-11 18:36:10 +00:00
rgrimes
89c931f847 Remove obsolete comments about my-name and my-network.
Have netstart directly source sysconfig so that it stands on its own.
Do not source netstart in rc, run it with sh.

Rework the dangerous /etc/hostname.* so that it uses a variable with
a list of interfaces and a variable for each interface in that list.
The files /etc/hostname.* become obsolete with this change, the
information is now stored in /etc/sysconfig.

Source any /etc/start_if.${ifn} files so they can export things to
netstart (plans for future enhancements in this area.)

Obsolete /etc/defaultrouter, this is now down with $defaultrouter from
sysconfig.
1995-04-11 01:22:24 +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
rgrimes
01cb869dd8 This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration.  I was not going to
    change that out from under you.... a user never need edit netstart
    or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc.  It is just unworkable as
    a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
    get up,  it doesn't start every bloody daemon that might talk to a
    socket...  netstart ifconfig's the devices and sets up routing if
    configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
    messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
    started before syslogd because if you are the dns server for your domain,
    you'd like named to resolve remote hosts in syslog.conf,  but this is
    a minority case and the trivial workarround is to put the syslog host
    in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
    to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
    NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
    xtend, and all of the syscons stuff
    (this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
    with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
    to this file now) and the full name of the kernel has been restored to
    /etc/motd

Submitted by:	pts
1995-03-30 06:26:19 +00:00
ache
a57e24ef0d Add function keys change setup 1995-03-30 00:01:09 +00:00
jkh
52c2c6e841 Move the invocation of rc.maint ahead of netstart. This is actually OK
since /var wouldn't be mounted at this point anyway - the mount of NFS
comes after both of them are run.  This closes misc/276.
1995-03-29 03:42:21 +00:00
jkh
7715dd8ca1 1. Add missing -n's to echo lines, closing misc/278
2. Make output of spaces follow conventions used elsewhere.
3. Inform user of a few things being started that were silent before.
1995-03-29 03:35:10 +00:00
wpaul
15fdec6c1f Make syslogd work again: in needs to be started in netstart right
before the rest of the system daemons are brought up and *after* the
network interfaces have been configured.

Also fix one other potential problem: the NIS services need to be started
relavively early since some of the other daemons might need them. The
automounter is a good example: if you use amd with NIS-based maps, you'd
better have NIS running before you start it. :) I think mountd might
need it too, now that netgroups can be read via NIS as well.
1995-03-26 18:18:58 +00:00
jkh
ed0b137aab start syslog earlier
add optional ibcs2 startup
1995-03-24 00:16:26 +00:00
jkh
9f3dfc26ee Correct a few spelling bogons.
Submitted by:	phk
1995-03-24 00:11:02 +00:00
jkh
d1ff4f8c28 Get around problem of not exporting variables in sysconfig 1995-03-24 00:01:21 +00:00
jkh
1823ec6c2e rc.netstart -> netstart 1995-03-23 06:42:36 +00:00
jkh
eab2c34979 Another pass through our rc files in an attempt to eliminate historical
crufy and generally make all of this easier to understand and modify.
1995-03-23 01:25:19 +00:00
ache
a029159833 Almost full syscons setup via rc & sysconfig 1995-03-22 03:29:55 +00:00
wollman
b6b7f7fea9 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
jkh
2fe73346e8 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
rgrimes
d40983c822 Remove extra fi that caused this script to fail during boot. 1995-03-17 17:57:24 +00:00
wollman
80a34ebfdf 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
jkh
783f9a44fd Disable dset for now - Bruce says it hoses the show. 1995-01-26 19:04:29 +00:00
jkh
55a8fc5382 Add dset call to rc file, right after the databases are rebuilt. 1995-01-24 16:49:14 +00:00
ache
5de21be864 timedflags quoted
Submitted by: root@uglabgw.ug.cs.sunysb.edu
1994-12-18 01:21:51 +00:00
ache
e66195f798 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
ache
7b27d125c6 Call rc.local with . instead of sh to pass variables
Submitted by: John Capo
1994-11-26 19:25:14 +00:00
smace
06d8605f45 fix if test for rwhod. 1994-11-17 08:28:02 +00:00
phk
7b78e3a232 Only so savecore if people ask for it. 1994-11-07 04:02:26 +00:00
ache
e61515fa64 Restore back -i for adjkerntz 1994-11-02 09:43:38 +00:00
ache
2cd718192c Remove -i options from adjkerntz call 1994-11-01 16:24:03 +00:00
ache
8ef66e7d70 Add commented out startup locale setup, needed for some daemons
like comsat
1994-10-30 04:33:57 +00:00
dg
ce24706799 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
pst
a6993e000c Add nfs_client and amdflags 1994-09-29 17:27:46 +00:00
pst
8c6548cc31 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
wollman
dc27f46187 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
dg
a76ea3b1b5 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
rgrimes
1851a0fcf3 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
phk
7d9611717f 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
dg
4141aa7be2 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
phk
ebf9e71a93 check for diskless boot, and remount / RW in that case. 1994-06-06 17:45:37 +00:00
ats
431ebc1c53 Comment out the startup of the xtend daemon by default. 1994-06-05 16:03:57 +00:00
ache
6557b616d1 Now rc.serial used for initial setup of serial lines 1994-06-04 00:44:00 +00:00
paul
94a4079f75 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
ache
1f04a9091b Path of uucp lock/temp corrected 1994-05-23 11:22:10 +00:00
jkh
2bb10aa76c 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
7448727686 Add /usr/X11R6/lib to the ldconfig path if it exists. 1994-03-25 04:58:58 +00:00
phk
ea0643c5f8 Added tickadj to start of xntpd, this improves performance to nominal. 1994-02-27 15:32:09 +00:00
rgrimes
14b70b0cdd 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