Commit Graph

87 Commits

Author SHA1 Message Date
Nate Williams
d867405fbe Renamed the relevant PC-Card support files to reflect the newest release. 1996-03-14 18:24:07 +00:00
Nate Williams
5d9d7f34a7 PC-CARD hooks. Someday it will actually enable working code. :)
Reviewed by:	phk
Submitted by:	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp> & BSD Nomads

I re-wrote alot of this, but the ideas are based on the code from the
most recent pccard-snapshot.
1996-03-12 15:39:26 +00:00
Adam David
b69a06147a rpc.yppasswdd instead of yppasswdd 1996-02-23 10:44:49 +00:00
Jordan K. Hubbard
a246c358bd Close PR conf/589 - amd should only evaluate ${amdflags}.
While I'm at it, add a commented-out sample amd flags line to sysconfig
and drop a sample amd.map file in this directory for easy copying.
I know that this file's contents are highly site-variable, but the one I've
chosen for an example is also the one I've seen on 99.9% of the amd-using
sites I've visited.  I think it's a fair default.
1996-02-09 12:20:40 +00:00
Gary Palmer
b6c4b2f9a6 Add an option to start mrouted. Off by default 1996-01-29 08:46:14 +00:00
Gary Palmer
60dc88f2ce Add (at long last) an option to say if you want to run the printer
daemon (lpd) or not. Set to run it by default.
1996-01-28 08:08:37 +00:00
Thomas Graichen
dba0a4da88 added the "-p" option to amd so that it writes it's pid to
/var/run/amd.pid and added the "-l /var/log/amd.log" option there too

added an entry for the "rotation" of /var/log/amd.log to newsyslog.conf
1996-01-16 08:04:06 +00:00
Jordan K. Hubbard
9fdf89e00d Go to new scheme for local_startup variable. Now one can specify multiple
directories to check in looking for port startup scripts.  The specific gunge
for apache httpd, gated and pcnfsd in /etc/sysconfig and /etc/netstart is
gone now.  Note that pcnfsd's troubles aren't necessarily over (and probably
why NetBSD brought it into their sources) - anyone adding pcnfsd will STILL
have to tweak /etc/sysconfig in order to set the new variable
`weak_mountd_authentication' to YES.  The flags to mountd are directly affected
by pcnfsd's requirements for non-root mounts, unfortunately! :-(
Submitted by: paul & jkh
1995-12-28 01:24:04 +00:00
Andrey A. Chernov
f2d49a145f Use absolute path for sendmail daemon or sendmail can't find
itself on SIGHUP.
1995-12-09 19:40:12 +00:00
Paul Traina
7ee16d0162 remove path in front of kadmind, path already set correctly 1995-11-04 05:03:16 +00:00
Nate Williams
58fe9a2131 Don't have ldconfig look in /usr/gnu/lib since it was removed before 2.0R. 1995-11-01 16:53:25 +00:00
Andrey A. Chernov
bf66fd8815 If accounting becomes enabled and /var/account/acct
not exist, touch it, or accounting is never started
(it must be pre-existen file).
1995-11-01 00:22:45 +00:00
Andrey A. Chernov
973e116456 Use back-quotes in echo ...recover.* 1995-10-29 12:43:47 +00:00
Paul Traina
e5d7c0b3cc Recover vi recovery files on reboot.
Closes pr misc/556 and others.
1995-10-28 23:32:26 +00:00
Jordan K. Hubbard
2cc3249f42 local_startup=/usr/local/etc/rc.d
[ As suggested by Satoshi - rc.local.d was pretty redundant under /usr/local;
  duh! :-)]

[ -f /etc/rc.local ] && sh /etc/rc.local
For backwards compatibilty with non-executable rc.local files.  Sorry, Bruce!

Submitted by:	asami & bde & jkh
1995-09-19 10:19:44 +00:00
Jordan K. Hubbard
bf5c926da3 Bring my fixes over from 2.1. 1995-09-19 08:33:43 +00:00
Paul Richards
b1d1220363 Removed startup code for pcnfsd and apache. These don't even exist
in FreeBSD and should never have got in here.

Removed hard-coded /etc/rc.local.d hacks and implemented a more flexible
solution.

Added a local configuration area to sysconfig.
1995-09-18 19:17:14 +00:00
Jordan K. Hubbard
7c6dadee19 Add support for /etc/rc.local.d directory, ala SYSV. If the purists
don't like it, they don't have to use it.  The check makes sure that
/etc/rc.local.d exists before attempting to do anything with it.  Now
packages will be able to add their startups as /etc/rc.local.d/<pkgname>.sh
in order to get local startup behavior.  Maybe we can stop adding
knobs to /etc/sysconfig for ports/packages now?
Submitted by:	wollman & jkh
1995-09-18 07:38:18 +00:00
Jordan K. Hubbard
1e3c538dfb Add checks for pcnfsd (flag to mountd must be added in this case)
and Apache httpd, so a user can be brought up to speed quickly.
1995-09-14 02:44:49 +00:00
Garrett Wollman
2555651f72 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
Bruce Evans
20d4de8fd4 Optionally set the dump device. 1995-06-25 04:01:32 +00:00
Rodney W. Grimes
bbfba93794 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
David Greenman
1469eec81e 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
Jordan K. Hubbard
5469943802 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
Andrey A. Chernov
8889e816b4 Add -r to rm -f /var/spool/uucp/.Temp/* 1995-04-11 18:36:10 +00:00
Rodney W. Grimes
d75038b6e7 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
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
Rodney W. Grimes
711aa1c272 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
Andrey A. Chernov
0d58dfe47d Add function keys change setup 1995-03-30 00:01:09 +00:00
Jordan K. Hubbard
9f06251380 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
Jordan K. Hubbard
59beb5883d 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
Bill Paul
04bc775d03 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
Jordan K. Hubbard
e4ade01cb2 start syslog earlier
add optional ibcs2 startup
1995-03-24 00:16:26 +00:00
Jordan K. Hubbard
a50ce32dec Correct a few spelling bogons.
Submitted by:	phk
1995-03-24 00:11:02 +00:00
Jordan K. Hubbard
43b9e11c93 Get around problem of not exporting variables in sysconfig 1995-03-24 00:01:21 +00:00
Jordan K. Hubbard
fadfd39bdf rc.netstart -> netstart 1995-03-23 06:42:36 +00:00
Jordan K. Hubbard
89341fe2a5 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
Andrey A. Chernov
3a46066496 Almost full syscons setup via rc & sysconfig 1995-03-22 03:29:55 +00:00
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