Commit Graph

713 Commits

Author SHA1 Message Date
Andrey A. Chernov
e95be7ca34 Change xten shell from /dev/null to /nonexistant, adduser
complaints instead.
Change nobody user group from non existent in /etc/group (9999) to
existent nobody (39).
1995-05-15 18:35:22 +00:00
Rodney W. Grimes
f8a6f4a227 Remove all /dev/'s from device names, they should all be relative
to /dev.  Putting absolute paths in here breaks the make release
process, and screws up testing of this script in other directories.

Submitted by:	bde
1995-05-15 09:44:10 +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
Gary Palmer
64cecefe43 Clean up the matcd entry so it deletes the *matcdl* entries before trying
to create new ones.

Reviewed by:	davidg, rgrimes
1995-05-15 06:55:18 +00:00
Rodney W. Grimes
3d8e4b9338 Remove XXX comment that I had moved to netstart and forgot to remove from
here.
1995-05-13 20:16:11 +00:00
Andrey A. Chernov
4067631146 Change ln -sf to rm -f and ln -s, first one work incorrectly
for directories when called second time
1995-05-13 16:58:37 +00:00
Satoshi Asami
cbed30a5cf Add "include". 1995-05-13 12:07:08 +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
Jordan K. Hubbard
7b094c1c1d The lites web page has moved.
Submitted by:	rich
1995-05-11 20:39:36 +00:00
Rodney W. Grimes
a51ab5ce3b Reviewed by: wollman
Add a knob to make it easy to turn off RFC 1323 and RFC 1644 options.
1995-05-11 19:08:37 +00:00
Jordan K. Hubbard
4767b31211 Lower-case the name of the DES directory. Yes, it's an acronym, but DOS
is still dOs.

					Jordan
1995-05-11 05:22:29 +00:00
John Fieber
9381eca971 New directory for sgml tools: /usr/share/sgml
Reviewed by:	rgrimes
1995-05-09 23:06:59 +00:00
Jordan K. Hubbard
15e52edd61 secure -> DES 1995-05-09 00:15:30 +00:00
Andrey A. Chernov
75343e2589 Change 'rc' entries from 'r' to 'm', conflict with ptys 1995-05-07 23:04:03 +00:00
Satoshi Asami
884a677900 ttyq[0-9a-f] -> ttyp[g-v] 1995-05-05 10:06:34 +00:00
Peter Dufault
99d181f7a9 Make scsi control devices such as "/dev/rsd0.ctl". 1995-05-03 18:15:35 +00:00
Peter Dufault
b53e9e2751 Use the correct offset for LabPC digital devices. 1995-05-01 14:34:45 +00:00
Andrey A. Chernov
98a59e226e Add yet one popular russian code table 1995-04-30 14:45:00 +00:00
Jordan K. Hubbard
90e83ab7ee As a public service (and because I'd like to see more LITES people chose
FreeBSD), add mach-4 target to MAKEDEV; it creates various compatability
devices for Mach4.
Submitted by:	(Submitter name unknown) <root@ns2.redline.ru>
1995-04-30 07:56:45 +00:00
Bruce Evans
af5b6e3f9d Remove chmod of pcaudio* to 666. Not everyone should be allowed to
play the speaker and consume 10-100% of the available cycles.

Remove chmods of sound devices to 666.  Use chmod to give the same security
holes.
1995-04-28 07:53:43 +00:00
Bruce Evans
d45ae51059 Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*. 1995-04-28 07:39:21 +00:00
Peter Dufault
657e73c4f5 Add National Instruments "LabPC" driver 1995-04-28 00:51:40 +00:00
Bruce Evans
cd782e4154 Reviewed by: Gene Stark (starkhome!gene@sbstark.cs.sunysb.edu)
Change ownership of tw* from bin.bin to root.operator.  Hardware devices
shouldn't be accessible to bin.
1995-04-26 08:07:30 +00:00
Rodney W. Grimes
28f1950b10 Add $defaultdomainname to sysconfig and use it in netstart to set the
domainname.  This eliminates /etc/defaultdomain.

Correct tickadj, it should have been tickadjflags.
1995-04-24 23:52:16 +00:00
Jordan K. Hubbard
a746536c51 Document COPTFLAGS in addition to CFLAGS. 1995-04-23 13:03:24 +00:00
Andrey A. Chernov
29ea28d79e Add 'rc' devices. 1995-04-23 12:02:21 +00:00
Atsushi Murai
281cc46322 Fixing misspelling and chang default device as dailout
Reviewed by: Atsushi Murai <amruai@spec.co.jp>
1995-04-22 17:14:21 +00:00
Jordan K. Hubbard
29fb81664f Add xten user/group.
Submitted by:	Gene Stark <gene@starkhome.cs.sunysb.edu>
1995-04-18 02:03:59 +00:00
Rodney W. Grimes
51564ceea8 A better solution for the noisy ibcs2 startup, just echo a space and then
call ibcs2.
Submitted by:	jkh, slight modification by me.
1995-04-13 21:23:17 +00:00
Jordan K. Hubbard
d99fdc4f07 I missed some of Frank Durda's changes for MAKEDEV. Fixed.
Submitted by:	Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-04-13 00:51:55 +00:00
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
Andrey A. Chernov
7cccae663d Fix "at" directories owner 1995-04-12 03:02:01 +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
40a36bc906 Add missing "echo '.'" to end of file so that the next file called
starts on a new line.
1995-04-10 01:39:13 +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
Andrey A. Chernov
ea1e26d7e2 Upgrade to RFC1700 (IANA) 1995-04-09 03:02:08 +00:00
Nate Williams
dff188f7dc Added /usr/share/examples/cvs for use by cvsinit. 1995-04-08 17:48:00 +00:00
Andrey A. Chernov
9265b96620 Add ident (commented out) 1995-04-08 16:21:45 +00:00
Andrey A. Chernov
8075515025 Fix official name of 113/tcp service
Obtained from: SunOS /etc/services
1995-04-08 16:17:05 +00:00
Jordan K. Hubbard
0039743841 Don't spit out a gratuitous ibcs2 startup message. 1995-04-06 02:38:37 +00:00
Andrey A. Chernov
d9e7919357 Set desired cursor type for syscons 1995-04-04 17:34:55 +00:00
Andrey A. Chernov
213abfcf47 Add missing ';' 1995-04-01 12:55:33 +00:00
Andrey A. Chernov
179b3cdf2d Make /usr/share/nls/* dirs for message catalog stuff 1995-04-01 04:47:43 +00:00
Jordan K. Hubbard
9cd4774910 Add modem database file for new tip changes. 1995-03-31 11:41:58 +00:00
Andrey A. Chernov
923782ecb6 Restore my function key configuration stuff which Rod promise to
restore but really didn't do it.
Restore message from old rc about configuring syscons whith
echo added before it to go to new line after "echo -n xtend" f.e.
and similar stuff.
1995-03-30 09:39:51 +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
David Greenman
97338af32f Killed Mr. "Falcon". May he rest in peace. 1995-03-30 05:46:17 +00:00
Andrey A. Chernov
b480c2f090 Remove reference to examples/syscons 1995-03-30 00:10:31 +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
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
Jordan K. Hubbard
c80147acd5 Remove gratutious echo to close misc/279. 1995-03-29 03:30:22 +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
Rodney W. Grimes
b34537dab7 Remove the private copy of directories in usr/include from here,
this is now handled in BSD.include.dist.
1995-03-27 01:36:19 +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
Joerg Wunsch
bcd20d16ce Include ``toor'' in the list of forbidden ftp users, just in case someone
is providing this user with a password.

Pointed out by: charly@Fachschaften.TU-Muenchen.DE
1995-03-25 13:11:40 +00:00
Jordan K. Hubbard
7b56107036 Add rc.maint file. 1995-03-24 00:17:37 +00:00
Jordan K. Hubbard
e4ade01cb2 start syslog earlier
add optional ibcs2 startup
1995-03-24 00:16:26 +00:00
Poul-Henning Kamp
2a0b3f70d2 Install /etc/sysconfig 1995-03-24 00:15:15 +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
Rodney W. Grimes
ecdb980f93 Convert from using old root.cache to new named.root 1995-03-23 08:43:07 +00:00
Rodney W. Grimes
fa535a53dd Import the official InterNIC Registration Services named.root file
on a vendor branch for easy updates.
Reviewed by:	phk
1995-03-23 08:19:28 +00:00
Jordan K. Hubbard
fadfd39bdf rc.netstart -> netstart 1995-03-23 06:42:36 +00:00
Jordan K. Hubbard
a590b6a207 Add a home for system maintainance tasks. 1995-03-23 01:25:51 +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
Jordan K. Hubbard
a4b6c787e8 Finally remove the evil little bit of excreta that was the /etc/myname
file.  hostname is set in sysconfig.
1995-03-22 18:00:36 +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
Garrett Wollman
1440dc3c88 Update root NS cache.
Delete bogus localhost.rev.
Add prototype localhost.rev and a script to create it automatically.
(NB to installl people: you should ask ``do you have a full-time connection
o the Internet?'', run this script, and enable named if the answer is
yes.)
1995-03-21 16:33:45 +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
Jordan K. Hubbard
99b1970f84 Fix apm and gsc rules to allow <blah>0' or just <blah>' to be shorthand.
[Actually, it's `<blah>*' but I'm not telling anyone]
1995-03-21 06:31:00 +00:00
Poul-Henning Kamp
6950e7e24e make.conf doesn't postulate anything about libm now. 1995-03-21 02:55:33 +00:00
Jordan K. Hubbard
39ad1abd89 Take out obsolete KERBEROS_IV build variable. Just eBones now.
Submitted by:	Mark Murray <mark@grondar.za>
1995-03-20 21:35:15 +00:00
Joerg Wunsch
ae1f8971f2 Make the catman command (in the commented-out example) run by user `man'
instead of `root'.
1995-03-19 10:10:42 +00:00
Rodney W. Grimes
0bdd4426bf Create /usr/share/games/quiz.db via mtree and remove private mkdir command
from Makefile.
1995-03-18 08:30:48 +00:00
Rodney W. Grimes
5a9e9cbac4 Use new mtree file to rebuild /usr/include. 1995-03-18 07:02:10 +00:00
Rodney W. Grimes
2c4bf858fd Use new mtree file to rebuild /usr/include.
Replace rm -f; ln -s with ln -sf when installing LATIN1LINKS, also
do not attempt to chown/chmod these links.
1995-03-18 07:01:53 +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
Joerg Wunsch
3ce2ec287b Included the (now use{able,ful}) catman program as an (commented out)
example.
1995-03-15 22:58:19 +00:00
Andrey A. Chernov
34ee6d3450 Make /dev/pss instead of /dev/sndproc (unused) 1995-03-13 00:10:40 +00:00
Bruce Evans
f2a5c98e24 Clean up white space. 1995-03-12 15:25:32 +00:00
Peter Dufault
a1b8d6bad1 Noticed by: Nate
Fixed the MAKEDEV pattern for SCSI processor type driver so it doesn't
screw up ptys.  Does anyone want to suggest a better name than "pt0" for
SCSI processor devices before 2.1?
1995-03-11 12:07:57 +00:00
Rodney W. Grimes
cf4a93ba78 Simplify all the newfs commands into ${NEWFS} and add -t 0 -u 0 so
we can again newfs floppies.

Now I just need to squish the bits back under 1.44MB :-(.  I don't know
if it will be possible to get down to 1.2MB.
1995-03-10 08:42:07 +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
Peter Dufault
8bcbc1f424 Add processor and worm drivers 1995-03-04 20:54:24 +00:00
Bruce Evans
f8360b9bf3 For sd, vn and wd:
Support sliced devices better.  E.g.:
`sh MAKEDEV sd0' creates [r]sd0 and [r]sd0s[1-4] as well as [r]sd0[a-h]
(the extra devices created by default won't hurt apart from wasting inodes).
`sh MAKEDEV sd0s1[a-h]' creates [r]sd0s1[a-h] (any partition creates all).
`sh MAKEDEV sd0s5' creates [r]sd0s5.

Support unit numbers 0-31 (was 0-6).

For wd:

Remove support for creating DOSpartitions wd*[i-m].  These will get removed
if you run MAKEDEV on `all' or on wd*.
1995-03-04 12:22:14 +00:00
Jordan K. Hubbard
6ccfe20ece Add Matsushita CDROM device entries.
Submitted by: Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-03-02 04:11:47 +00:00
Andrey A. Chernov
8a6fe12553 Cleanup device names, add more devices for Linux sounddriver 1995-02-27 18:54:27 +00:00
Andrey A. Chernov
e04e0de266 Move symlinks creation here 1995-02-26 20:29:37 +00:00
Atsushi Murai
53c9f6c0c4 New user Process PPP based on iij-ppp0.94beta2.
o Supporting SYNC SIO device (But need a device driver)
     - add "set speed sync"
   o Fixing bug for Predictor-1 function.
   o Add new parameter that re-sent interval for set timeout commands.
   o Improving RTT (Round Trip Time) and reducing processor time.
     - Previous Timer service was using polling, and now using
       SIGALRM ;-)
     - A 0.94beta2 will not work correctly....

   -- Follows are additinal feature not including 0.94beta2
   o Support Proxy ARP
     - add "enable/disable proxy" commands
   o Marging common routine in CHAP/PAP.
   o Enhancing LCP/IPCP log information.
   o Support local Authfication connection on port 300x and tty.
     - You can set up pair of your "hostname -s" and
       password in ppp.secret. if either ppp.secret file nor
       your hostname line don't exist, It will notify a message
       and working as same as previous version.(Backword compatibility)
     - If you did set up them, It's allow connection but nothing to do
       except help and passwd command.
     - add "passwd yourpasswd" commands
   o Support afilter - keep Alive filter that a packet can send/receiving
     according to ifilter/ofilter but doesn't count it as preventing idle
     timer expires.
     - Same syntax of other filters.
   o Fixing bugs reported by current user for previous one. Thanks !!

Reviewed by: Atsushi Murai (amurai@spec.co.jp)
1995-02-26 12:18:08 +00:00
Poul-Henning Kamp
fba33612b8 make distribute change. 1995-02-25 21:01:48 +00:00
Joerg Wunsch
bcdd2389fe Allow tty0? to be an alias for tty? when creating the dev nodes.
People tend to be confused unnecessarily otherwise.
1995-02-24 19:26:59 +00:00
Jean-Marc Zucconi
bb12981561 Change permissions and ownership of joystick device files. 1995-02-22 23:52:58 +00:00
Andrey A. Chernov
2b7b13bca8 add /usr/local/share, needed by some ports 1995-02-22 04:34:19 +00:00