Commit Graph

20 Commits

Author SHA1 Message Date
Peter Wemm
e0d239dba3 Put on my flame-proof suit and attempt to make the /etc/motd banner
editor safer.  The old one was too deadly, if the blank line after the
"FreeBSD" version banner was missing, it would delete from the beginning
of the file up until the next blank line, possibly to the end of file.
This was not good.
1996-08-17 07:15:38 +00:00
Rodney W. Grimes
8c0aac9163 Make the creation of the header line in /etc/motd be consistent
with other BSD based systems.

Submitted by:	wollman
1995-03-30 06:34:46 +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
b480c2f090 Remove reference to examples/syscons 1995-03-30 00:10:31 +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
f7ae0afb88 Back out my previous change and file it under the catagory of One Of Those
Things That Seemed Like A Good Idea At The Time.  There's a better solution
for /etc out there and this is not a step in that direction.
1995-03-06 14:33:39 +00:00
Jordan K. Hubbard
68f4eef929 If there is a host-specific rc file lurking in /usr/share/misc, execute
it.
Submitted by:	Heikki Suonsivu <hsu@cs.hut.fi>
1995-03-05 22:00:40 +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
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
Andrey A. Chernov
379e45984a Add yet one & to kadmin startup to not left second-level shell hanging 1995-01-26 05:25:52 +00:00
Andrey A. Chernov
965d72e637 Use (sleep 20; kadmind ...) & -- wait until kerberos started 1995-01-26 02:58:31 +00:00
Andrey A. Chernov
7c5bf497e0 Start kadmind -n (if present) for kerberos server to bring
passwd to life.
1995-01-25 05:06:34 +00:00
Andrey A. Chernov
a4a6c1695e Add comment about where user can find loading fonts/keyboard example 1994-09-26 20:23:48 +00:00
David Greenman
5510f449aa Do uname -rs instead of uname -a when generating /etc/motd. 1994-08-31 05:31:42 +00:00
Geoff Rehmet
4085cb917d make /etc/motd mode 644 NOT 666
(Thank heavens I run cops every night.)
1994-06-03 08:54:35 +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
Jordan K. Hubbard
af340e7bf5 Set a default ldconfig path for shared libs. 1993-12-30 02:31:16 +00:00
Rodney W. Grimes
99d62f5c58 Fix for version name in /etc/motd, now uses uname to get this information! 1993-10-18 19:08:36 +00:00
Rodney W. Grimes
ca8687bd42 Fixed edit of /etc/motd so that the motd says FreeBSD instead of 386BSD. 1993-07-19 21:05:58 +00:00
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00