1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Andrey A. Chernov
5c613ed190 Call gated as /usr/local/sbin/gated instead of possible adding
/usr/local/sbin to rc PATH
1995-04-12 16:58:06 +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
Rodney W. Grimes
27aeb9321a History merge after repository restore of netstart,v:
date: 1995/03/26 18:18:59;  author: wpaul;  state: Exp;  lines: +23 -17
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-29 03:33:55 +00:00
Rodney W. Grimes
9845d771df History merge after repository restore of netstart,v:
date: 1995/03/23 01:25:18;  author: jkh;  state: Exp;
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-29 03:28:08 +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
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
Bill Paul
17936913ce Small NIS fixes:
1) ypserv is started with nis_serverflags, not yppasswddflags (that's what
   I get for cutting & pasting without paying attention).

2) ypbind can also be started with arguments, so turn nis_client to
   nis_clientflags.
1995-02-08 16:42:12 +00:00
Andreas Schulz
8f80ac0afa Submitted by: Michael Reiffenberger ?
Changed the yppaswddd to a yppaswdd :-).
1995-02-07 20:52:35 +00:00
Bill Paul
3269f6b60e Added options for starting NIS client and server processes. All are
off by default.
1995-02-03 23:54:07 +00:00
Poul-Henning Kamp
13cd44971d Only so savecore if people ask for it. 1994-11-07 04:02:26 +00:00
Poul-Henning Kamp
e9362258de Don't set hostname if we already have it. (diskless). 1994-11-02 23:50:54 +00:00
Paul Traina
40eb7bc241 Make multicasts go out default interface 1994-10-06 20:52:00 +00:00
Paul Traina
46cf1ccdf3 Add nfs_client and amdflags 1994-09-29 17:27:46 +00:00
Poul-Henning Kamp
9640f31c89 Added support for defaultrouter, both as a variable and as /etc/defaultrouter.
Changed the everlenghtening list of "if [ -f /etc/hostname.foo ].." to a
loop which will do them all, and look for init-scripts for them as well.
perfect place to put your calls to slattach and such: /etc/start_if.sl0
for instance.
1994-09-15 01:19:43 +00:00
Jordan K. Hubbard
b5edeef192 Add entry for the new PCMCIA ethernet adapter code (ze0). 1994-06-17 19:29:05 +00:00
Rodney W. Grimes
2f3990f771 Add supoort for hostname.ed1 1994-05-04 08:59:52 +00:00
Rodney W. Grimes
5ca7c63907 Fix the ifconfig lines so that they have interface names on them. 1994-04-18 11:00:44 +00:00
Rodney W. Grimes
74d091bf0a >From BETA_1_1 branch:
----------------------------
revision 1.8.2.1
date: 1994/04/18 06:37:29;  author: rgrimes;  state: Exp;  lines: +10 -4
Use the hostname.* files created by the installation to reduce the
amount of work one has to do when setting up a system.
----------------------------
1994-04-18 06:44:43 +00:00
Garrett Wollman
dc8989b140 Support for automatically running ntpdate and xntpd. 1993-12-21 21:28:12 +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
Andreas Schulz
c0ba8b5473 Deleted the ifconfig lines with we0, ne0, ec0: the drivers don't exist
anymore. Added an ifconfig line with ie0.
1993-10-29 19:06:20 +00:00
Rodney W. Grimes
1a2659b6e6 Fixed spelling error in ifconfig line for ed0, from netwask to netmask 1993-08-09 09:14:47 +00:00
Rodney W. Grimes
54d88c88d6 Pulled in patch kit 0.2.4 netstart, added ifconfig ed0 line. This is a
crock so I can get the binaries released.
1993-07-19 21:08:53 +00:00
Rodney W. Grimes
0a71fe694b From NetBSD, copied verbatium. May need some work yet. 1993-07-19 19:14:45 +00:00
Nate Williams
961fadf86f Fixed netstart to have a hard-coded localhost address.
This fixes situations where you don't have a correct localhost in
your nameserver or no name-server.
1993-07-05 21:43:35 +00:00
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00