Commit Graph

2039 Commits

Author SHA1 Message Date
bjh21 00a398bd22 New kernel for small systems 2000-07-19 16:49:08 +00:00
lukem 47a3878257 reenable stop_cmd now that network doesn't get run at shutdown 2000-07-17 15:25:42 +00:00
lukem db024b3733 add '# KEYWORD: shutdown' so that these scripts get run at shutdown time.
now, only scripts with the keyword `shutdown' will be run by /etc/rc.shutdown,
which speeds up shutdown and makes it more robust.
2000-07-17 15:24:48 +00:00
lukem d046f31b64 run rcorder with `-k shutdown', so that only the scripts with a
`shutdown' keyword get run at shutdown time.
2000-07-17 15:23:28 +00:00
lukem 97d13d02c3 * remove bogus comment about aborting the boot if ipsec.conf doesn't exist;
this hasn't really worked and is probably too messy to resolve...
2000-07-17 13:10:54 +00:00
lukem a8b1b91ded * add support for `status'
* remove bogus comment about aborting the boot if ipf fails; this hasn't
  been supported since the rc.d migration and is too messy to resolve...
2000-07-17 12:58:14 +00:00
lukem d92b803c29 use "load_rc_config swap" for swap1 and swap2 2000-07-17 12:27:04 +00:00
lukem 8086bde7eb share the same load_rc_config between the lkm* scripts 2000-07-15 02:30:18 +00:00
lukem bafa86ff31 add usr/share/examples/syslogd 2000-07-13 14:24:13 +00:00
ad 1bc309ff6c - Replace `[ZBN-]' with `flags'.
- kerberos.log isn't generated by syslogd(8). Add `N' flag.
2000-07-11 12:41:06 +00:00
eeh 1feaf31d56 If MACHINE_ARCH is 64-bit then only build 64-bit kernels. 2000-07-07 23:06:09 +00:00
ad 05ca1d3393 Add /etc/{hesiod,passwd}.conf. 2000-07-06 11:11:16 +00:00
itojun 0bfeec5234 sync sendmail default configuration file with GENERIC kernel setting.
was: sendmail-IPv6.cf(v4/v6) + sendmail.cf(v4)
now: sendmail-IPv4only.cf(v4) + sendmail.cf(v4/v6)

do we need etc/obsolete.mi?
2000-07-04 12:21:02 +00:00
enami e0c644c119 Apply same changes done in rev. 1.5 for the entry `hp' which is
added in rev. 1.6
2000-07-03 06:11:23 +00:00
sommerfeld 9928e1fe95 Fix pr9320: improve umask checking for root's dotfiles.
Now even notices bogus umasks like 044
2000-07-02 22:27:47 +00:00
tsarna 202af8ae4a Fix typo (enable -> enabled) 2000-07-02 18:18:20 +00:00
wrstuden becc493865 And let's make some audio devices too. Stolen from port-alpha. 2000-07-01 21:41:41 +00:00
hubertf 3c57129f75 Clarify comment that inetd only starts up IP-based services *that are
enabled in /etc/inetd.conf* (someone asked me last week why NetBSD doesn't
come with a telnet server...)
2000-07-01 20:03:44 +00:00
mrg c76b8a26a9 add "wd" support 2000-07-01 16:27:47 +00:00
minoura ae45dff5fc GENERIC should run on any environment.
It required 6MB of memory;  disable some options/devices so that
it can run on 4MB machines.
2000-06-28 15:27:19 +00:00
thorpej 81a51455cd Fix brain'o in last, pointed out by Johan Danielsson. 2000-06-25 16:25:33 +00:00
thorpej 685a0649a8 lm* -> sysmon 2000-06-24 00:43:26 +00:00
fvdl 1840f1fa18 Allow a higher count of started services for broadcast RPC services. Since
rpcbind version 3 and 4 clients will try broadcasts using both the old
and new protocol for IPv4, the double amount of packets may come in,
causing bogus "service looping" events in inetd.
2000-06-22 11:35:13 +00:00
itojun c60ddc2403 remove ip6defaultif configuration. because:
- ndp is in /usr/sbin, chokes on NFS-mounted /usr installation
- the option is just for IPv6 specification geek, not for normal users
2000-06-20 16:48:14 +00:00
ad bd9588d282 Add /etc/netconfig and /etc/security.local. 2000-06-20 15:01:19 +00:00
enami 295358cfe1 Don't warn that $hostname isn't set if the hostname is already set. 2000-06-20 08:34:33 +00:00
thorpej e7d6b96938 Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
soren fdcd620b35 Less use for kernfs/procfs now. 2000-06-19 18:32:08 +00:00
mrg 8c791f7aee add radius & radacct. 2000-06-18 04:09:54 +00:00
shin 80873ae6f8 make kernels for TX3912 TX3922. 2000-06-17 10:59:27 +00:00
soren d880cab464 MD etc bits. MAKEDEV incomplete. 2000-06-14 05:28:59 +00:00
itojun c45b4229e4 typo 2000-06-14 03:24:16 +00:00
itojun 60cd90f104 TODO; should check /etc/ipsec.conf owner/permission,
while we don't have find(1).
2000-06-13 18:17:13 +00:00
itojun 00ded2c64e add rc.d/ipsec for ipsec configuration. when enabled, it will inject
/etc/ipsec.conf into "setkey -f".  PR 9609.
2000-06-13 16:29:53 +00:00
itojun 246f43dbbb use ${start_precmd} to check duplicate sendmail.cf.
do not use "err" on failure, it is not that fatal (it's okay if we
don't start sendmail)
2000-06-13 15:53:03 +00:00
matt 01c627b9ed Add a wd version of fstab since most macppc now are ide based 2000-06-12 23:06:59 +00:00
matt 2ecddab632 Build GENERIC_MD too. 2000-06-12 23:04:36 +00:00
tsutsui c21cf29460 MD Makefile.inc to make release for news68k.
XXX distrib/notes/news68k is not yet.
2000-06-12 15:09:39 +00:00
shin de480e09b1 Do machine dependent part of 'make release'. 2000-06-12 12:41:40 +00:00
fredb 21fcee54a9 Loosen sendmail's permission checks for building the aliases.db file
even further. Particularly, allow ${DESTDIR} to be within a world writable
directory, such as /var/tmp.
2000-06-12 06:23:21 +00:00
tsutsui af2ad1c7a1 Split /dev/fd/* from std entry. Install floppy does not require them. 2000-06-11 17:30:00 +00:00
mycroft e8c2265aae Make /var/games/sail here. 2000-06-11 15:36:26 +00:00
fredb 9f387ca272 Pass ${MAKEFLAGS} to all recursive invocations of ${MAKE}. 2000-06-11 13:01:29 +00:00
veego a32605d17c pcvt is gone and therefore ttyv[1-7] as well. 2000-06-11 09:13:51 +00:00
wrstuden 63698a2c60 Revert to decemal numbering. From talking w/ Jason, we really should
support more than 256 ports. That would mean 3 digits in hex, and I
don't want to write the script for that..
2000-06-09 17:58:29 +00:00
wrstuden 00ee1c57fc Cyclades-Z tty's are now ttyCZ??, not ttyCZ????. Add support for them
to macppc's MAKEDEV.
2000-06-09 16:59:03 +00:00
fvdl 5b8623bec6 Add and rc.conf.d directory. If a config file for command X exists
(/etc/rc.conf.d/X), then it is sourced in addition of /etc/rc.conf

This means that the base system will still use rc.conf, but that
3rd party scripts can use rc.conf.d
2000-06-09 14:27:57 +00:00
fvdl 75748efda9 Use load_rc_config 2000-06-09 14:14:44 +00:00
tsutsui 2f3b6e9a65 Fix blocksize to match ns/nt/nc. 2000-06-09 12:58:57 +00:00
fvdl 0ced5dd715 Enable -6 flag to nfsd. 2000-06-09 00:08:02 +00:00
matt 8e734e6188 Make the release notes, etc. 2000-06-07 20:29:00 +00:00
sommerfeld b88d86b1b6 Comment out telnet, ftp since they use cleartext passwords (discussed
recently on tech-net, no objection raised except that it doesn't go
far enough..)

Fix misc/10219 as suggested in PR: add -L to rlogind and -l to tftpd
command lines to enable logging.
2000-06-06 12:04:02 +00:00
mycroft 95c4357e1b Add kpop. 2000-06-05 18:12:57 +00:00
tron 0377727ee6 Fix typo in last commit. 2000-06-04 09:34:58 +00:00
tron 306acd3e78 Handle "bktr" related devices like audio devices:
- Create device nodes with numbered names (e.g. "tuner0").
- Create softlinks with unnumbered names (e.g. "tuner") pointing to device
  nodes of unit 0.
2000-06-04 09:34:06 +00:00
itojun 2ece7fc42f use netstat -inv for all address familires. PR 10249. 2000-06-04 08:35:10 +00:00
itojun 609377a40f run sendmail under the following conditions:
- /etc/mail/sendmail.cf exists, no /etc/sendmail.cf
- /etc/mail/sendmail.cf exists, /etc/sendmail.cf same content as
  /etc/mail/sendmail.cf
die in other cases.  PR 10243.
2000-06-04 08:33:58 +00:00
perry e3fc70bd16 Add a ttyaction file for port-i386 that properly sets the ownership
on the console device when you log in using wscons on the console.

Why haven't we had defaults for this all this time?
2000-06-04 00:04:59 +00:00
perry 4d477e62b7 install ttyaction if it exists 2000-06-03 23:53:17 +00:00
veego 5b78d0c312 Rename a remaing comment about portmap to rpcbind. 2000-06-03 17:23:59 +00:00
fvdl a5f38c029b rpcbind uses a pidfile. 2000-06-03 00:17:17 +00:00
fvdl 580b06b52e s/portmap/rpcbind/ 2000-06-02 23:23:27 +00:00
fvdl 02cd59a751 * Portmap is now called rpcbind.
* Add IPv6 RPC entries to inetd.conf (commented out by default, as the others)
* Add netconfig file, needed for TI-RPC code.
2000-06-02 22:54:08 +00:00
matt ce0c35cb45 Make the two installation directories mentioned in INSTALL.* 2000-05-31 21:09:48 +00:00
matt 934311a24b Update instfs to current ramdisk size. 2000-05-31 17:39:55 +00:00
itojun a7c4c34f96 refer PR 10100 for /etc/sendmail.cf check 2000-05-31 16:00:36 +00:00
fredb 1a725dd534 Build and install the release notes. 2000-05-31 15:45:55 +00:00
he d32a31d48c Build boot media and release notes under "snap_md_post", to complete
the "make release".  Largely copied from the i386 port, and adapted.
2000-05-31 14:33:11 +00:00
bouyer f5e3c48aad Depends on quota; when quotached runs while NFS clients are writing,
bad things happens.
2000-05-29 07:10:41 +00:00
tron e63bc36c7f Call "load_rc_config()" earlier so that configuration variables are read
before command arguments are defined. Fixes PR bin/10220 by Ron Roskens.
2000-05-29 06:53:03 +00:00
thorpej bb3e285167 Add Cyclades-Z nodes. 2000-05-28 23:12:15 +00:00
thorpej adbdfe4a4e Fix this so that release notes are build properly upon `make release'. 2000-05-28 17:31:27 +00:00
hubertf cdc1e0be32 /etc/dhclient.conf is *not* required for dhclient to run. 2000-05-26 20:44:17 +00:00
tron e4983783f7 Enhance "rc.lkm" so that it works properly with "/etc/rc.d/lkm[123]". 2000-05-26 17:46:16 +00:00
ad fb3a33ff99 We may as well allow local additions to /etc/security, since it gets done
for the other periodic checks.
2000-05-26 17:08:21 +00:00
thorpej 75db01943c Add `ses' devices. 2000-05-22 17:01:30 +00:00
itojun 60270df72a remove /etc/sendmail and other old items.
PR 10171 from Andrew Brown.
2000-05-22 04:14:30 +00:00
sommerfeld 76b8870254 Add declarations to silence boot-time warnings from named 2000-05-19 13:07:37 +00:00
matt 66b5e3cb8a make miniroot play with distrib/miniroot 2000-05-18 02:03:36 +00:00
matt 61632e05bb Software bloat. we need more space for the ramdisk. 2000-05-17 21:44:15 +00:00
matt 18cbc264e3 build INSTALL for ramdisk. cleanup pcs750.bin rules to not leave droppings
behind.
2000-05-17 21:40:45 +00:00
thorpej 41b9e77eff MAKEDEV goo for Cyclades-Z multi-port serial. 2000-05-17 18:14:10 +00:00
oster 4c318b5d41 At boot, initiate parity/mirror reconstruction as required.
This operation is backgrounded, and sequentially ordered.
2000-05-16 16:54:33 +00:00
tron d683136c9f Don't complain about existence of "/etc/sendmail.cf" if "sendmail" is
not set to "YES" in "/etc/rc.conf".
2000-05-15 06:16:04 +00:00
simonb 598c993af2 Add RCSid. 2000-05-14 23:13:54 +00:00
mycroft e3d7832343 Minor change:
Don't use a backquote expression to get the host name; use a pattern
substitution on lop-nor.ihack.net instead.
2000-05-14 18:20:55 +00:00
tron 24ad7fd36c Add "wscons" to requirement list so that a tty used for syslog output
will be created before starting the syslog daemon.
2000-05-14 13:12:11 +00:00
lukem 5c1b0ec207 Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf.
This allows us or a user to change the configuration file method in
one place - rc.subr - without having to edit all of the rc.d/* files.
2000-05-13 08:45:06 +00:00
lukem 2c25ae21eb Implement load_rc_config(), which takes the config name as an argument.
Currently this just loads /etc/rc.conf, but this will make it easier
for us and users to modify the config mechanism without modifying all
of /etc/rc.d/*.
2000-05-13 08:23:45 +00:00
lukem 78abee064b remove netstart 2000-05-13 08:07:01 +00:00
lukem 92612bb41e this should have been removed as part of the rc.d commit 2000-05-13 08:02:35 +00:00
lukem ff0601b77a remove commented-out entry for mountd, since whilst support for inetd
was added to mountd in mountd.c::1.6, it was removed as part of the
4.4-lite merge in mountd.c::1.12. if the entry was uncommented your
machine might clag up after a showmount as inetd spawned lots of
mountd processes...
2000-05-13 07:28:09 +00:00
lukem d934c3b536 only support reload as an extra command; there's too much special case
code that needs to be implemented to make this script totally replicate
what /usr/sbin/ndc does.
2000-05-13 03:46:42 +00:00
lukem eabbaa2f0c implement three new variables for run_rc_command:
- ${name}_chdir	directory to cd to before running ${command}
    - ${name}_nice	nice level to run ${command} at
    - ${name}_user	user to run ${command} as

based on [misc/9954] by Dave Sainty <dave@dtsp.co.nz>, except that it works :)
2000-05-13 03:07:17 +00:00
wiz 6df6f56909 remove obsolete /usr/X11 entries 2000-05-13 00:57:17 +00:00
thorpej a6ff236176 Pasto in last. 2000-05-12 18:12:55 +00:00
thorpej fe42f7fbab Add all of the arm26 dirs. 2000-05-12 18:11:50 +00:00
groo 51ab46d939 No, *REALLY* add man4/arm26. 2000-05-10 16:53:53 +00:00
groo e37973802e Add {cat,man}4/arm26 2000-05-10 16:46:41 +00:00
bjh21 6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
itojun 4bc21c2fb4 do not let 127.0.0.0/8 leave the node. based on RFC1122. 2000-05-09 10:49:26 +00:00
itojun 10e25f6012 make default sendmail.cf IPv4-only again.
roll sendmail-IPv6.cf, which does IPv4/v6.
2000-05-08 00:37:53 +00:00
veego ce6e7b1e81 Add tun2 and tun3 to the all target and create the ugen0 devices in the
usbs target.
2000-05-07 19:15:21 +00:00
tsarna fff5c01493 This was doubly borken... 2000-05-07 19:03:25 +00:00
tsarna fe4377f98c Only warn on non-default old nfsiod args. 2000-05-07 02:04:20 +00:00
wiz d690122a5e add devices for bktr; also add them to all target 2000-05-07 01:39:27 +00:00
frueauf 83072a01c7 Since src/gnu/usr.sbin is populated add it to the cdpath. 2000-05-06 13:17:33 +00:00
sjg 4157176c27 Added an obj target to ensure that KERNOBJDIR exists - in case
we are using MAKEOBJDIRPREFIX.
Fixed the comment about why we grab ../Makefile.inc
2000-05-06 07:52:19 +00:00
mycroft 5c2de4c3fa Build INSTALL_SMALL. 2000-05-06 05:31:58 +00:00
itojun 13c8f7a2df check /etc/mail/aliases on check_aliases.
/etc/aliases will be checked as well, if exists (for backward compatibility).
2000-05-05 18:28:53 +00:00
itojun 6901565540 sync with sendmail 8.10.1 migration. /etc -> etc/mail
From: Andrew Brown <atatat@atatdot.net>
2000-05-04 01:07:40 +00:00
itojun 78565052f1 do not cope with pre-8.10 configuration file. do not start sendmail.
From: hubert
2000-05-03 17:03:10 +00:00
joda dc09e9637e xntpd -> ntpd 2000-05-03 14:40:39 +00:00
itojun 14e9ff0043 correct typo (sendmail upgrade) 2000-05-03 11:37:16 +00:00
itojun 366bbade5a sync with sendmail upgrade.
- sendmail configuration files are in /etc/mail, not /etc.
- src/etc/aliases will be installed into /etc/mail/aliases (confusing)
- rc.d/sendmail warns if /etc/sendmail.cf exists.
2000-05-03 10:55:19 +00:00
itojun 94dc65714b add /etc/mail, which will be used with sendmail 8.10.x. 2000-05-03 09:24:23 +00:00
itojun 17424fe1fe sync with rc.d/network, about IPv6 prefix filters
(since we still ship it, we need to make it up-to-date)
2000-05-03 07:04:22 +00:00
sjg 45fb67b360 remove/change missleading comments 2000-05-03 00:10:33 +00:00
augustss b09bd0e884 s/xntpd/ntpd/ 2000-05-02 16:31:11 +00:00
simonb e5150c9868 Out with the old, in with the new. 2000-05-02 12:19:20 +00:00
simonb dd4d1cfbc2 Change xntpd to ntpd. 2000-05-02 12:17:28 +00:00
simonb dfbbad05df Use "ntpd.pid" for pid file, change other xntp references to ntp. 2000-05-02 12:16:07 +00:00
augustss 0f7d1d56ff Add a comment about urio. 2000-05-02 12:01:13 +00:00
augustss 7eb7e0a9cd Make urio(4) device node. 2000-05-02 11:59:40 +00:00
simonb f5e35141a6 Remove the never populated /usr/share/doc/xntp, and add /usr/share/doc/html
and the ntp4 subdirectories under that.
2000-05-02 11:49:16 +00:00
augustss 40ca86f953 Make audio devices. 2000-05-02 08:17:51 +00:00
kleink 2e87728bd8 Restructure a bit as to create wscons device nodes using the 'wscons'
argument, rather than enumerating all the terminal devices.  (Convenient
side-effect: ttyEcfg ist actually created.)
2000-05-02 08:03:38 +00:00
sjg 734bcf16ec Use bsd.kernobj.mk
Also if KERNELS_DONE is defined skip building kernels.  Handy if re-spinning
due to errors in distrib later on.
2000-05-02 06:41:44 +00:00
thorpej 0a43d29758 Install the localhost namedb file. 2000-05-01 05:29:34 +00:00
perry 31d7194c3f Add "make distribution" for Postfix. 2000-04-30 21:45:55 +00:00
perry 816886ef7a move /usr/share/postfix to /usr/share/examples/postfix. It makes sense
to have a /usr/share/sendmail because that directory contains the m4
source file for the .cf file in /etc, but for postfix, it really is
just an example.
2000-04-30 18:10:28 +00:00
lukem 0a610ebbd3 use extra_commands= instead of using 2nd argument to run_rc_command 2000-04-30 13:23:04 +00:00
lukem c8ddd6124a - prefix some more local variables with `_' (when you have a convention,
stick to it :-)
- simplify run_rc_script (no need to support fast* or force* here...)
- clarify some comments
2000-04-30 13:16:47 +00:00
lukem 3b853f3018 remove /var/run/dmesg.boot before attempting to write to it 2000-04-30 12:39:56 +00:00
lukem 32c9a44095 - use checkyesno in $start_precmd and change start_cmd to `postfix start'
- use $extra_commands instead of passing "reload" to run_rc_command
2000-04-30 12:21:00 +00:00
lukem 0c2e1a2b7e change run_rc_command() to take the list of extra commands supported
from a variable ($extra_commands) as opposed to from $2-* on the
argument list. it's cleaner; and allows for the possibility of
multiple command arguments being passed to run_rc_command() in the
future.
2000-04-30 12:19:07 +00:00
perry fc2c9714f0 add default alias for postfix pointing to root. 2000-04-30 05:49:10 +00:00
kleink cc7e7b3d7a Fix raw partition number for cd(4) nodes. 2000-04-29 09:47:01 +00:00
veego 63f94fabf2 Fix the last change so it doesn't fail due too a missing '; then'. 2000-04-29 06:01:08 +00:00
abs 9e96565f2e pcmcia modems end up at com3 with a GENERIC kernel, so create a tty03 in std 2000-04-29 00:10:37 +00:00
abs e335e1cd4d useradd defaults to using the 'users' group, so add one. 2000-04-29 00:09:31 +00:00
ad b093a1430b Make ca* devices. 2000-04-28 13:55:04 +00:00
lukem 0c5f67f0ac in check_pidfile and check_process, also match "(" + `basename prog` + ")" .
noted by veego@
2000-04-28 01:40:09 +00:00
thorpej 7a38ab7c44 Don't warn about $hostname not being set if $dhclient == YES; it's quite
likely that we'll be getting the hostname via DHCP when it runs.
2000-04-28 00:13:39 +00:00
veego ebe6c4d40d Use the stop_cmd to unmount the filesystems with 'umount -a'.
This helps to fix the unclean reboots (at least on my system).
2000-04-27 21:00:50 +00:00
veego c9f5754ee8 You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd
in an rc.d script.
2000-04-27 20:58:26 +00:00
tron 9a8415ba0b Add a bunch of SSL services. 2000-04-26 16:28:17 +00:00
lukem 0716b4f382 don't bother checking rc_configured each time run_rc_command executes; once in /etc/rc is enough 2000-04-26 15:06:46 +00:00
thorpej fad0a37405 Provide rc.d support for the Postfix mail system. Committed to the
base because there is no support for packages in rc.d, and Postfix
is supposed to become part of the base system anyhow.
2000-04-26 05:28:03 +00:00
thorpej 0316517d36 Make ccd and raidframe provide `disks', and make swap1 and fsck
depend on `disks', rather than `ccd' and `raidframe'.
2000-04-26 05:13:51 +00:00
itojun dffc281396 add zone file for "localhost.". this is included in examples in BIND8,
and is a good thing to have (no outside DNS server will supply this).
2000-04-26 01:33:27 +00:00
fair 065c791de8 Add skeyaudit to /etc/security (with a variable to disable) per PR 5871 2000-04-24 23:46:37 +00:00
lukem caa2beb10e revert previous; the fast-start functionality already existed, and
works at multi-user boot. (starting /etc/rc after single user boot
doesn't exhibit this fast start behaviour).
2000-04-22 03:01:22 +00:00
itojun 3fff16ff47 rtsol is not a daemon. rtsol.d should have been killed by rc.d/rtsold.
(correct me if i'm wrong)
2000-04-20 02:12:04 +00:00
enami f3d36a14e8 Add login.conf, sysctl.conf and usermgmt.conf. 2000-04-20 02:01:52 +00:00
simonb 72951fce20 Don't need ()'s around "cd ... && ${MAKE} ...". 2000-04-19 13:45:24 +00:00
simonb 5e6480feca Add an "rc_fastboot" variable check in rc.subr, that if set adds
"fast" to the start of the run_rc_command arg.

/etc/rc calls each rc.d script with rc_fastboot=yes so that rc.subr
aware scripts to use "faststart" to skip the process running check.
2000-04-19 04:26:22 +00:00
thorpej a596663a81 nfsiod script is gone. 2000-04-16 04:18:51 +00:00
tsarna a32696c2de Death to nfsiod!
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
2000-04-15 21:14:48 +00:00
lukem f408de971d as this script is primarily for compatibility (with people's
rc.local), call it in a way that is compatible with the old behaviour:
	* remove the stop case
	* don't set $1="start" in the start case

xxx: it's debatable if this script should even exist, but i digress ;-)
2000-04-13 00:39:47 +00:00
lukem 2665e61925 make `stop' a no-op, so that the network doesn't disappear at an
inconvenient time during boot.

this may be fixed a different way in the long term...  (not that the old
rc.shutdown supported stopping the network, or could i really see a
practical use for allowing it at this stage, but in the future someone
might want the functionality i've just disabled).
2000-04-11 05:03:24 +00:00
tsarna 506c359083 Improve backwards compatability and leave securelevel the old way. 2000-04-09 21:00:04 +00:00
tsarna 163510ecf4 The file /etc/sysctl.conf is now run with sysctl -f at boot time.
This replaces the previous /etc/rc.d/sysctl. Also, the variables are now
set earlier, between ipf/ipnat and the network coming up.

The rc.conf defcorename and securelevel variables are no more. You can
set them directly in sysctl.conf now.
2000-04-08 23:02:53 +00:00
thorpej 93f24178a7 dhclient does not, in fact, require /var/db/dhclient.leases to exist. 2000-04-06 17:19:13 +00:00
fredb dc04b64906 - - Take BUILD_KERNELS to be the kernels to make into sysinstall kernels.
- - Clean up.
2000-03-30 03:25:48 +00:00
fredb c4ae664105 Revert last two changes. As pointed out by enami tsugutomo, snap_md_post
is the wrong place to do the splits, as the tar files are not yet made!
2000-03-29 23:47:53 +00:00
soren 5c57db66c3 Add comments. 2000-03-29 15:58:42 +00:00
soren 58e9dbb6aa Mount ext2 fs with kernel on /stand. 2000-03-29 15:58:34 +00:00
enami 129d97f658 routed is live in /sbin, not /usr/sbin. Pointed out by kay@kaynet.or.jp. 2000-03-29 09:09:06 +00:00
soda aea5721be9 from i386 port revision 1.5 by Tsugutomo Enami:
Uncomment out the CD-ROM entry and remove outdated comment for the
reason why it was commented out.
2000-03-29 06:45:35 +00:00
enami a1e356450f Uncomment out the CD-ROM entry and remove outdated comment for the
reason why it was commented out.
2000-03-29 03:43:32 +00:00
enami e8b27ae5ed Check rc_configured also here, and bail out if it isn't set to yes. 2000-03-29 02:13:51 +00:00
fredb 630e63cb47 Don't include ${RELEASDIR} in INSTALLATION_DIRS. Error pointed out by
Urban Boquist in PR install/9689.
2000-03-28 16:26:30 +00:00
thorpej 47cd48f3db Use distrib/sets/Makefile in the release: and new cryptoset: targets. 2000-03-28 00:39:17 +00:00
msaitoh 96b85dc028 set major number of /dev/console to 0 (not 8 (com)) 2000-03-27 19:35:25 +00:00
fredb 7b0e557100 Build the split sets in place on "make release". 2000-03-26 15:48:22 +00:00
enami 3a640d007a Add ftpd.conf. 2000-03-24 22:37:48 +00:00
soren 5ce9472a83 NetBSD/cobalt /etc. 2000-03-19 22:10:56 +00:00
itojun 0a94c72b0f correct reject route installations for IPv6. improve comments. 2000-03-17 17:41:01 +00:00
itojun 10257beef5 comment fix. it is not mandatory to supply the configuration file,
rtadvd(8) can guess the configuration from the routing setups.
2000-03-17 17:35:20 +00:00
lukem 174455c38a fix check for domainname since it can come from /etc/defaultdomain as well as $domainname 2000-03-16 22:22:15 +00:00
ad d52bc434ce Device entries for ca(4). 2000-03-16 14:58:09 +00:00
fvdl 8fbb81c21e dhclient lives in /sbin, not /usr/sbin 2000-03-15 03:15:47 +00:00
tsutsui d8a503fec5 Try to make the install floppy work on 4MB machines:
- reduce memory disk size
- use x_dd, x_ifconfig and x_route
- use libhack.o (sync with i386)
- don't use mfs as /tmp

Tested by Luigi Filippini <filippini@tiscali.it> and me.
2000-03-13 13:16:54 +00:00
lukem 52462864b7 ssh script removed, so remove sshd=NO line 2000-03-13 05:07:15 +00:00
lukem 0059d641e5 * replace daemon, login, servers with DAEMON, LOGIN, SERVERS
* remove sshd (it was from my private system)
2000-03-13 04:03:52 +00:00
takemura 028706d573 Add wsmux0 and wsmux1. 2000-03-12 13:58:14 +00:00
itojun deaf45edc1 disallow packets to malicious 6to4 prefix, based on
http://playground.iijlab.net/i-d/draft-itojun-ipv6-transition-abuse-00.txt
2000-03-12 04:21:26 +00:00
thorpej 5d18d90843 Rearrange so the ouput of this is a bit more cosmetic. 2000-03-12 03:49:36 +00:00
thorpej 292a9f03be Since we have an "sshd" script in rc.d, we should have an "sshd" knob
in rc.conf.
2000-03-12 03:49:11 +00:00
veego bfa0f14ea6 Fix the network_stop function so it doesn't fails due to missing ]['s. 2000-03-11 20:13:42 +00:00
veego 0cc5873563 Add raidframe to the REQUIRE list. rcorder seems to get it right, but it
is better to add it.
2000-03-11 20:12:22 +00:00
veego b869270297 Don't start rc.wscons with an start/stop argument. Disable stop and add an
checkyesno check.
2000-03-11 20:11:16 +00:00
veego 84807b9933 Add missing checkyesno's. 2000-03-11 20:10:21 +00:00
veego aacfec2af3 mountd requires mountall. 2000-03-11 17:29:50 +00:00
shin 5fa9d50bcd add missing callunit.
fix ucbsnd.
2000-03-11 07:45:31 +00:00
windsor 738b8e9986 oops, pppd doesn't require /etc/ppp/options now. 2000-03-10 20:21:57 +00:00
windsor a59fb6d3bc forgot to add /etc/ppp/options to special(5) 2000-03-10 20:02:46 +00:00
windsor 47cab3ac18 create /etc/ppp when building install sets
add this and a lot of files not previously looked at in special(5)
2000-03-10 20:01:50 +00:00
lukem c595577502 if checkyesno do_rcshutdown, run scripts in /etc/rc.d/* in the
reverse order returned by rcorder
2000-03-10 13:17:25 +00:00
lukem 8f8c6d6b2a run scripts in /etc/rc.d/* in the order returned by rcorder 2000-03-10 13:15:58 +00:00
lukem d2fc7332ae add /etc/rc.d 2000-03-10 12:04:43 +00:00
lukem c132a440d2 install rc.d scripts 2000-03-10 11:59:35 +00:00
lukem c53094a738 rc.d scripts derived from /etc/rc 2000-03-10 11:53:23 +00:00
lukem 6096ea59cd * add:
check_pidfile	parse a pidfile for a pid, checking that the
			process is running, and print the matching pid
    check_process	print a list of running pids that match the procname
    run_rc_command	kitchen sink function to simplify creation of
			rc.d scripts
    run_rc_script	invoke an rc.d script appropriately
    rc_usage		print a usage string for an rc.d script
    err			similar to err(3)
    warn		similar to warn(3)
* add copyright
* remove islocalfs(); nothing uses it
2000-03-10 11:39:27 +00:00
tsubai dfa4c86f40 Correct cd* minor number. 2000-03-07 18:24:16 +00:00
groo 327c7e4af9 add lm0 to 'all' target 2000-03-07 17:55:06 +00:00
jdolecek 020a8ac5b2 make clearing of /tmp after reboot configurable (default on), as per recent
discussion on current-users
2000-03-07 14:33:13 +00:00
is 72f77e9fb3 Build the miniroot, too, when building the release. 2000-03-06 21:54:05 +00:00
ragge f61a38f7f7 Add "ta=4.2BSD" to floppy A partition + some other small fixes.
From Todd Whitesel.
2000-03-04 16:11:35 +00:00
tsubai 24c978b1d5 Add "floppy" target. 2000-03-04 15:46:08 +00:00
uch 8c8afb18a9 add TX39 internal UART and UCB1200 audio device. 2000-03-04 15:02:44 +00:00
veego 9fbb1fd9b4 Add /usr/share/man/{cat,man}8/arc 2000-03-03 20:34:17 +00:00
soda 2b9070c1d9 to make binary snapshot 2000-03-03 12:56:05 +00:00
christos 9e721e2455 Don't use grep to find if we have fdesc mounted. case is faster and
works without having /usr mounted.
2000-03-01 19:03:17 +00:00
joda 89c2906ea5 explicitly allow writable directories when rebuilding the alias
database, otherwise this will fail if any directory in ${DESTDIR} is
g+w.
2000-03-01 16:48:35 +00:00
itojun 627898817e sync with etc/namedb change (IPv6 loopback reverse database file) 2000-03-01 11:21:13 +00:00
itojun ca7ee807d5 change filename for IPv6 loopback address (::1).
many found it ugly, and I found that I've made a mistake in old name.
there needs to be 4 more "0"s!

this commit renames
etc/namedb/0000:0000:0000:0000:0000:0000:000 into etc/namedb/loopback.v6.
(based on recent discussion I did not use cvsmove)
2000-03-01 11:06:27 +00:00
augustss ab5e19cc9f Make /dev/usb, a node where USB events can be read.
Also add ttyU to hpcmips.
2000-02-29 19:07:41 +00:00
augustss 66ee7c2e15 No need to make audio devices twice in all. 2000-02-29 18:48:05 +00:00
nonaka 37eb9eebc2 Initial import prep port. 2000-02-29 15:21:20 +00:00
itojun f539e10ff8 enable IPv6 ftp and telnet by default.
it makes more sense to me as we have INET6 in kernel, and we have ftp4/telnet4
enabled by default.  maybe I'm biased:-)
2000-02-28 17:25:42 +00:00
wiz 24d8e4f798 added share/locale/pt_BR/LC_MESSAGES for grep 2.4 2000-02-27 01:27:48 +00:00
mycroft f4665e12b2 Install a blank sendmail.st here. 2000-02-26 18:42:31 +00:00
tsutsui 6009529bb4 Remove extra `;' in md* entry. 2000-02-26 05:39:51 +00:00
nisimura bd10f55368 Nuke an extra ;; introduced by md* fix. 2000-02-26 04:43:27 +00:00
groo a41f67cc02 Add `lm*' for LM7[89] hardware monitor 2000-02-25 02:35:49 +00:00
nisimura a23763688e Make MI SCSI device ready. For now MAKEDEV all won't create them. 2000-02-22 03:57:38 +00:00
mycroft a59987f569 Let the main Makefile deal with building kernels. 2000-02-20 03:52:22 +00:00
mycroft 01b2f6e1de Sum the floppy directory, too. 2000-02-20 03:38:04 +00:00
mycroft ad78992969 Always checksum binary/kernel, now that there is at least one file in it. 2000-02-20 03:32:37 +00:00
mycroft 58895df429 Clean up a bit. 2000-02-20 03:11:12 +00:00
mycroft f10265540b Always install GENERIC in the kernels directory. 2000-02-20 03:10:50 +00:00
mycroft 4bf1c78bfb Make the tset stuff actually set the environment variables again.
Someone was on crack.
2000-02-19 19:00:13 +00:00
mycroft b24c03aa71 Simplify the tset crap, and do not set $HOME gratuitously. 2000-02-19 18:39:01 +00:00
jwise 4316d096db 1.) bring over the second half of David Brownlee's change to dot.login --
don't query the user for terminal type if the type is not `unknown'

2.) change this a little in both the csh and the [k]sh cases -- do call
    tset(1) even if the terminal type is known (so that TERMCAP is set
    properly, but don't have it query the user.
2000-02-16 03:07:09 +00:00
jwise 8d796b1774 Port to [k]sh(1) startup files David Brownlee's improvement from
cvs rdiff -r1.4 -r1.5 basesrc/etc/root/dot.login

As there, text is from Miles Nordin.
2000-02-16 02:02:02 +00:00
abs 6d39fee74c Only display the 'use su' message in the non 'su -' case.
Update the 'use su' message (text from Miles Nordin).
If the terminal type is !unknown, do not prompt for it.
2000-02-15 19:29:54 +00:00
erh aae51fbc36 Check for CRYPTOPATH variable instead of "../domestic" when deciding to build the secr set. 2000-02-14 18:37:39 +00:00
scottr 29cb4c7412 Merge wscons work onto the main development branch. 2000-02-14 07:12:34 +00:00
itojun a3aa7fe66f add ip6defaultif configuration variable in rc.conf, for configuring
default outgoing interface for IPv6 host when default router list is empty.

the configuration is just for very rare case.  it is safe to leave it empty.
2000-02-13 07:47:26 +00:00
shin c45bb5af35 change console terminal type from 'unknown' to 'vt100'. 2000-02-12 13:46:54 +00:00
itojun e70542be3a fix comment in "imap" line to honor IMAP4.
IMAP2 (RFC1176): Interactive Mail Access Protocol
IMAP3 (RFC1203): Interactive Mail Access Protocol
IMAP4 (RFC1730): Internet Message Access Protocol
2000-02-12 04:02:33 +00:00
itojun 15f0d67b67 improve comments about /etc/ifconfig.xxN, /etc/ifaliases, $ifaliases_xxN. 2000-02-11 08:09:56 +00:00
itojun a89dc9b12d add two symbolic name for tcp/udp port 143: "imap" and "imap4".
at least without "imap", fetchmail chokes.
2000-02-10 18:20:56 +00:00
tsutsui 810e380c89 Oops, I've forgotten to commit this on Jan 21.
>- rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
>- now raw partitions are used for memory disk ioctls
2000-02-10 16:45:37 +00:00
aymeric 94bfb48ec9 add missing semi-colon 2000-02-09 22:23:32 +00:00
itojun 7a0d226970 ip6forwarding -> ip6mode change (somehow i forgot to commit...)
PR: 9375
2000-02-09 16:24:03 +00:00
itojun b32545eabf add tcp6 lines for rshd/rlogind. 2000-02-09 11:05:04 +00:00
tron c089f6c69a "sendmail" is in "src/gnu/usr.sbin/sendmail" now. 2000-02-09 08:15:12 +00:00
bouyer bb08aa94ac add ./usr/share/man/{man3,cat3}/atari 2000-02-07 17:48:52 +00:00
jlam 4a47d48db2 Install correct ld.so.conf if etc.${MACHINE}/ld.so.conf exists. 2000-02-05 18:25:01 +00:00
itojun aba424872a add IPv6 loopback address (::1). 2000-02-05 17:53:30 +00:00
itojun 64170fdeab remove (slightly) bogus comment line about IPv6 config. 2000-02-05 17:52:06 +00:00
itojun e9056d34cb change IPv6 configuration syntax to avoid ambiguity.
ip6mode=host: IPv6 host
ip6mode=autohost: IPv6 host, with autoconfig
ip6mode=router: IPv6 router

backward compatibility to "ip6forwading" is provided.
2000-02-05 17:02:42 +00:00
veego bba35f4508 Install named/0000:0000:0000:0000:0000:0000:000 and ntp.conf to fix the
damage in distrib/lists.
2000-02-04 09:24:08 +00:00
veego f250672496 We don't have a bind4. 2000-02-03 17:51:51 +00:00
hubertf db217da391 add example for HP Laserjet with JetDirect ethernet card 2000-02-02 16:04:51 +00:00
mhitch 4f7848e09f Add IDE wd* devices for MI wdc support. 2000-02-01 05:26:12 +00:00
jdc f58c419f41 Allow NFS servers to start up. 2000-01-31 12:47:29 +00:00
fair e80b8c24a3 remove extraneous flags for xntpd startup, since there is now a
default ntp.conf file, per PR 4312
2000-01-28 06:55:52 +00:00
fair 613805537a A default NTP configuration file, per PR 4312. 2000-01-28 06:49:16 +00:00
itojun 6e5a5cc306 add reverse lookup table for IPv6 loopback (::1).
ugly...
2000-01-27 05:17:12 +00:00
explorer 1eea48680e use 'route -n flush' not 'route flush' otherwise we might spend all our time
trying to print hostnames for things we are just flushing anyway.
2000-01-26 07:01:53 +00:00
enami 99a7ca92be Sync with the reality. 2000-01-24 02:00:50 +00:00
mycroft 55f474fc12 Fix raidN device creation. 2000-01-21 16:46:04 +00:00
tsutsui cac7cebd3e - rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
2000-01-21 12:28:22 +00:00
mjacob c6459da685 add SES device 2000-01-20 17:13:27 +00:00
itojun 7f4bafc7bd add "-n" to netstat -i to avoid reverse query and better audit.
print IPv6 interface stat by netstat -inv separately.

comments from: hubertf and others
2000-01-20 04:13:54 +00:00
tron 7c5a18e4d2 Start automount daemon even if NFS client is not activated. This makes
sense for system where "amd" is used to mount local devices like e.g.
CD-ROM drives. Fixes PR misc/9126 by Bjoern Labitzke.
2000-01-19 12:00:49 +00:00
mycroft 868dc892af Put a copy of GENERIC in the kernel directory, too. 2000-01-19 08:36:30 +00:00
enami 5a3473733a Make some warning message consistient with others. 2000-01-19 03:52:12 +00:00
augustss 5e1ff60d11 Change the name rc.conf.local to rc.local.conf. This makes *.conf match all
config files.  Thanks to Greg Oster for the suggestion.
2000-01-18 22:43:23 +00:00
augustss 0028c40c50 While we're waiting for the new all singing, all dancing rc system, add
a way to configure local stuff;  if the file rc.conf.local exists it
is sourced at the end of rc.conf.
2000-01-18 21:52:38 +00:00
abs aabd13ef64 Use /var/spool/lpd/XXX as pool directory, not /var/spool/output/XXX
Intended to address PR #8551
2000-01-17 18:56:08 +00:00
itojun 7ab6c9ab36 add IPv6 items.
s/ippcp/ipcomp/ for #108, as
http://www.isi.edu/in-notes/iana/assignments/protocol-numbers
lists it as ipcomp, not ippcp.
2000-01-17 16:39:37 +00:00
itojun f6c95d891c no need to mount /usr just for sysctl, it is in /sbin now. 2000-01-17 02:37:59 +00:00
christos e597a72d0b Use cat -f to avoid denial of service attacks by people who make .rhosts
files fifos.
2000-01-15 01:15:12 +00:00
pk 49b3458319 Expand `instfs' to 1.8MB. 2000-01-14 13:50:11 +00:00
nisimura 12291ad31f Add raidframe and fix bozos and typos I made.
-
2000-01-13 01:06:24 +00:00
ad 645ee40728 - Make /etc/daily run /etc/daily.local if it exists. Make similar change for
weekly and monthly scripts.
- Update FILES section in manpages.
2000-01-10 17:03:49 +00:00
deberg bb0e1548bf gc unused mac68k devices 2000-01-10 02:25:25 +00:00
itojun 72a5ed2e26 allow "sh MAKEDEV ttyNN", where NN is 00 to 99.
single-digit "sh MAKEDEV ttyN" works in backward-compatible way.
XXX should bring it to other ports as well?
2000-01-09 02:37:06 +00:00
enami b07199995f Since the logger(1) puts space between its arguments, there is no need
to pass it explicitly.
2000-01-07 05:53:21 +00:00
jeremy 534cb8a841 Changed to reflect that VGA console works better as 'pc3' terminal type
than as 'vt100'.
2000-01-07 05:28:21 +00:00
enami f7c074aa48 Make sure that warning message starts from the beginning of line. Some
warning recently added didn't care about it.
2000-01-07 05:25:45 +00:00
enami 96e5a9b3d5 Cosmetic changes; folding long lines, using tab instead of spaces where
appropriate and fixing some indentation.
2000-01-07 05:11:43 +00:00
enami b614ae7a89 Use %d instead of %e to generate rdist log filename using date(1) so that
the resulting filename doesn't contain white space.
2000-01-07 03:52:23 +00:00
simonb c338a5ade3 Remove "miniroot" and "install-ramdisk" entries altogether - we'll
reference local disktab files in distrib/pmax.
2000-01-05 23:47:41 +00:00
simonb 3b40504351 Make "miniroot" 2MB and add a 3MB "install-ramdisk" entry. Add comments
to both of these referring to which Makefile in src/distrib/pmax they are
used in.
2000-01-05 13:05:15 +00:00
nisimura 95d00ea75d Introduce NetBSD/luna68k port into CVS repository. 2000-01-05 08:48:53 +00:00
lukem 44ec789012 don't need to background xfs now that it auto-backgrounds itself... 2000-01-04 05:20:51 +00:00
msaitoh d732fa1812 etc files for mmeye 2000-01-02 10:04:26 +00:00
windsor f2672a9b29 We need to put /usr in critical_filesystems_beforenet since rc.subr
("mount_critical_filesystems local") makes no assumptions about /usr.

Under certain (semi-normal) conditions, /usr is never mounted until
"mount -a" late in rc(8), and This Is Bad.
1999-12-31 04:42:02 +00:00
hubertf cabb78b63e Add share/examples/apm/script, an example script to put into
/etc/apm/{line,battery,standby,...}
1999-12-29 04:16:21 +00:00
minoura d30b9ad39c installation/* are copied in `make release'. 1999-12-24 17:03:34 +00:00
fredb 0b330f40c5 Make nomenclature more sensible: INST_KERNELS -> EXTRA_INSTALL_KERNELS,
and pass it through to the instkernel/Makefile release target.
1999-12-24 15:14:29 +00:00
windsor 623ede0b32 nit-picking spaces at EOL 1999-12-23 15:07:21 +00:00
abs be53038389 Consistency nit - use X11 in all comments not sometimes x11 1999-12-23 12:22:13 +00:00
augustss c2ca3a16f3 Add a comment about the ifconfig_xxN variables. 1999-12-22 22:55:49 +00:00
itojun ae444c9104 flip "if" order in IPv6 initialization, avoid calling /bin/test.
From: soda
1999-12-20 15:51:14 +00:00
itojun c7a34c1de0 check for IPv6 kernel by exit status of "ifconfig lo0 inet6".
now IPv6 portion of netstart does not require /usr mount, it will mount it
as necessary (like pppd configuration do).

thanks goes to christos for the tip.
1999-12-20 15:12:23 +00:00
itojun 6badb9eb2b add comment about IPv4/v6 dual stack support (enable both tcp and tcp6). 1999-12-20 12:43:17 +00:00
tsutsui e2c4e62e16 Correct md* entries. 1999-12-18 03:09:44 +00:00
fredb d0955f732b Add goo to build instkernel for mac68k as part of "make release". Actually,
multiple install kernels, by setting INST_KERNELS in /etc/mk.conf or the
environment, or on the command line. "INSTALL" is always added to the list.
1999-12-17 20:54:31 +00:00
drochner 2ab76be062 Add the "ig" directive to the PC console entry to avoid escape sequences
confusing the terminal. Should fix PR lib/8993 by Pierre Bourgin.
1999-12-15 17:34:00 +00:00
garbled a2f13ea762 Create devices for apm, apmctl and tctrl0 1999-12-15 09:17:24 +00:00
christos 47523083ea support fully qualified machdep names. 1999-12-15 05:23:13 +00:00
christos 2c7fa0c23b Pick up a machine dependent ld.so.conf 1999-12-13 10:19:32 +00:00
christos a87378c54a Prototype file that selects i387 if the fpu is present. 1999-12-13 10:17:49 +00:00
tsutsui 50d43dc788 Initial import of news68k port. 1999-12-09 15:10:37 +00:00
itojun 2dded70ce5 avoid transmitting invalid IPv6 packets out to the wire. 1999-12-09 14:18:07 +00:00
simonb faba922c92 Make ./etc/skel and ./usr/share/examples/usermgmt with mtree, and don't
create the directory in the user(8) Makefile.
1999-12-06 22:44:47 +00:00
abs 2d6fbd2789 Default to -z in savecore_flags 1999-12-06 20:38:13 +00:00
minoura e90bd819cd Create pty0 in install floppy. sysinst does use ptys. 1999-12-05 15:38:58 +00:00
ad 604db10508 - Add '-F' option which forces rotation of logs (from FreeBSD).
- Add 'sigtype' field specifying signal to be sent (from FreeBSD).
- Add 'N' flag which specifies that no signal should be sent.
- Fix some breakage.
1999-11-30 12:03:24 +00:00
itojun c683c60c73 recommend use of multi-line /etc/ifconfig.xxN than /etc/ifaliases, or
$ifaliases_xxN in /etc/rc.conf.
(no behavior change in /etc/netstart, comments only)

see recent tech-userlevel for discussions.
1999-11-29 01:40:33 +00:00
scw 4eab2b28e4 Add directories for mvme68k MD man4 pages. 1999-11-28 17:32:16 +00:00
hubertf 7bf20269f9 Add some boot time warnings:
- if ypserv=yes but portmap=no
 - if yppasswdd=yes but ypserv=no
 - if nfs_server=yes but portmap=no

Per discussion on tech-userlevel@netbsd.org.
1999-11-23 15:12:43 +00:00
lukem acc78cad94 accounting should be controllable via $accounting=YES in rc.conf... 1999-11-23 08:05:04 +00:00
christos 4dfd4a92a4 Disable rhosts check for now. Someone could stick in a fifo between the
-f .rhosts and the grep, and then we would get stuck.
1999-11-18 02:35:54 +00:00
fvdl 0f6157b181 Remove update, it's no longer used. 1999-11-15 20:04:50 +00:00
pk c528d95e74 Remove unnecessary inclusion. 1999-11-14 16:23:36 +00:00
drochner cae6f4efba add a comment why screen 0 is commented out and when to uncomment it 1999-11-10 16:34:08 +00:00
he eafd8f707f Provide some more automation in the "make release" process. Also build
and install:
 o INSTALL and INSTALL_TINY kernels (for boot floppy images)
 o GENERIC_TINY kernel
 o Boot floppy images
Ideas borrowed from etc/etc.sun3/ setup.
1999-11-09 00:22:39 +00:00
erh 145c0fee52 Ignore blank lines in ifconfig.* files. 1999-11-08 09:29:24 +00:00
mycroft 6c011bf076 Install root's .shrc. 1999-11-05 11:31:40 +00:00
mycroft c43c81eec7 (Ab?)use some sh(1) features:
* Put the aliases in a separate file, referenced by $ENV, so that they're
  present in subshells.
* Do the same to make `set -o emacs' happen automatically in interactive
  shells.  (Yay, line editing by default!)
* Use `export FOO=bar' syntax, as it's shorter and other sh(1)-like shells
  all support it these days.
1999-11-05 11:30:13 +00:00
mycroft 80cfefa569 Disable portmap by default, and add some more comments in that section. 1999-11-05 11:19:49 +00:00
mycroft fbbc23fa6a Disable everything except ftpd and telnetd by default. 1999-11-05 11:16:20 +00:00
fredb 2fad6a7a8e Make cfs0 for Venus/Coda file system, by default (PR 8625). 1999-11-05 09:57:06 +00:00
leo 165e56a44b Add the audio devices. 1999-11-03 14:02:07 +00:00
frueauf 1299db6b8b Use checkyesno to check the state of $rc_configured like for any other
variable set in /etc/rc.conf. Pointed out by Erik Bertelsen
<erik@mediator.uni-c.dk> in pr 8522.
1999-10-30 12:35:30 +00:00
lukem fe0c45f603 default for hosts has changed from `dns files' to `files dns' 1999-10-24 12:36:52 +00:00
perry ddcff2dcf5 Add an at.deny file by default, so that (by default) users can use at
and batch (as is historic practice, and as was our practice before
last year.) If someone wants to disable such use, they can just remove
the file.
1999-10-20 17:57:55 +00:00
dan 0860075c8b oops, wsmouse had same bad perms as wskbd 1999-10-19 23:19:38 +00:00
dan de4beb9532 Don't set wskbd* devices to 666, use 600 like every other arch, to
prevent random users remapping your console keyboard.
1999-10-19 22:26:52 +00:00
ad 652f0f8841 Back out previous 1999-10-18 22:41:23 +00:00
pk 569ef0062c Add sparc MD parts to `make release'. 1999-10-18 20:39:01 +00:00
tsubai 35133de28c Add com device. 1999-10-15 12:26:07 +00:00
phil bd6a470b1b Make the coda pseudo device cfs0. 1999-10-14 17:02:25 +00:00
sommerfeld 6e5d9aa87d Add -f /var/db/ntp.drift to default xntpd parameters. 1999-10-09 21:07:19 +00:00
hubertf 4fa18183d7 Install example dhcpd.conf into /usr/share/examples/dhcp 1999-10-09 15:33:36 +00:00
minoura 6ef8563aed Remove softcar from the example setting for dialup (commented).
(Thanks to Shuuichi Suyama <ghe02376@nifty.ne.jp> and msaitoh)
Use ttye0 for ITE instead of console.
1999-10-08 14:21:58 +00:00
ad 1acb6189fd Default terminal type of /dev/console is 'rcons'. 1999-10-06 22:47:58 +00:00
ad 993ac32fff Final chown user.group -> chown user:group changes. 1999-10-06 22:26:14 +00:00
ad 0cb212b1fe More user.group -> user:group pedantry (these are the loose ends). 1999-10-06 22:05:25 +00:00
ad 9438e96c3b More root.wheel -> root:wheel pedantry. 1999-10-06 22:01:56 +00:00
ad 7713e57181 The user:group field is optional, so put it in brackets like the other
optional fields.
1999-10-06 21:59:50 +00:00
ad 6933332596 Use a colon to seprate user and group name pairs. 1999-10-06 21:55:54 +00:00
ad cf5bc5acc8 Add [pidfile] to the description for last column. 1999-10-06 13:28:24 +00:00
ad d41c7fb2f8 Set a good example by using ':' to separate user/group names. 1999-10-05 12:12:39 +00:00
darrenr 918f986a0c move old dev_mkdb and "kvm_mkdb /netbsd" up into the section which builds
kvm_mkdb based on machdep.boot_kernel. also failover to "kvm_mkdb /netbsd".
1999-10-05 10:54:27 +00:00
ad d61e19af02 GENERIC kernel does not ship with IPv6, so comment out tcp6/udp6 entries. 1999-10-05 10:44:28 +00:00
darrenr e463468294 send sysctl machdep errors to /dev/null
merge in patches to implement multiple bootup configurations (look for
/etc/etc.current, /etc/etc.default and friends)
only start up NFS services if either nfs_client or nfs_server is yes.
1999-10-05 10:32:56 +00:00
bouyer eac2fbdb83 Add support for $defcorename 1999-09-28 14:53:17 +00:00
mjl e7795f36b9 Use sendmail.cf from $DESTDIR/etc instead of /etc for building the
aliases.db since that fails if we have a sendmail.cf installed that
has no MAILER(local) like nullclient.
1999-09-26 21:40:13 +00:00
bouyer 4ef94b0ae5 Add missing '/usr/share/man/man8/next68k' 1999-09-22 12:54:12 +00:00
hubertf bb9e6fa65a remove empty line 1999-09-21 14:25:46 +00:00
hubertf e6c3e8cd07 Add MAKEDEV.8 manpage for next68k. 1999-09-21 14:20:36 +00:00
veego 2199f8c078 Add /usr/share/{man,cat}8/bebox 1999-09-20 06:14:57 +00:00
hubertf 1728cf76bb fix up for automatically generated MAKEDEV.8 1999-09-20 00:22:17 +00:00
hubertf 9dbf4f790e edit for MAKEDEV.8 1999-09-20 00:04:17 +00:00
perry 80c605fb9b add cat8/hpcmips and man8/hpcmips
The person who added a man page for that section without adding the
corresponding directory should be lashed fifteen times with a wet
noodle. They broke the build.
If any other man pages are added for the sh3 and hpcmips ports, people
have to remember to add the corresponding directories to the mtree
files, okay?
1999-09-19 22:33:42 +00:00
hubertf 018c7b4f42 Tidy up comments a bit, to make the manpages generated from the a bit
nicer. Also, add a comment on how to re-generate the manpages if the
MAKEDEV file was changed.
1999-09-18 00:23:35 +00:00
takemura 2f85eb6142 Import NetBSD/hpcmips source files from hpcmips repository.
file list:
        sys/arch/hpcmips/
        distrib/hpcmips/
        etc/etc.hpcmips/
        lib/libc/arch/mips/fplib/
        lib/libc/arch/mips/fplib/Makefile.inc
        lib/libc/arch/mips/fplib/environment.h
        lib/libc/arch/mips/fplib/fplib_glue.c
        lib/libc/arch/mips/fplib/fplib_libc.c
        lib/libc/arch/mips/fplib/hpcmips-gcc.h
        lib/libc/arch/mips/fplib/softfloat-macros.h
        lib/libc/arch/mips/fplib/softfloat-specialize.h
        lib/libc/arch/mips/fplib/softfloat.c
        lib/libc/arch/mips/fplib/softfloat.h
        lib/libc/arch/mips/gen/ieee.h
        lib/libc/arch/mips/gen/sf_fabs.c
        lib/libc/arch/mips/gen/sf_flt_rounds.c
        lib/libc/arch/mips/gen/sf_fpgetmask.c
        lib/libc/arch/mips/gen/sf_fpgetround.c
        lib/libc/arch/mips/gen/sf_fpgetsticky.c
        lib/libc/arch/mips/gen/sf_fpsetmask.c
        lib/libc/arch/mips/gen/sf_fpsetround.c
        lib/libc/arch/mips/gen/sf_fpsetsticky.c
        lib/libc/arch/mips/gen/sf_isinf.c
        lib/libc/arch/mips/gen/sf_ldexp.c
        lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:13:17 +00:00
darrenr 50e510e367 If machdep.booted_kernel can be found in sysctl output, feed that name into
kvm_mkdb so that when we boot we always have an upto-date kvm db, allowing
dmesg and friends to run without error when we do "boot netbsd.fun" to test
kernels, etc.
1999-09-16 11:00:44 +00:00
sommerfeld ef22c28d6f Use ${CONFIG} rather than config so cross-builds can correctly select which one to use. 1999-09-16 00:30:06 +00:00
augustss 62d46f73e8 Improve the USB comments. 1999-09-15 21:18:10 +00:00
is 4f2d454a07 Synchronize comments with reality. 1999-09-15 20:31:53 +00:00
itojun 8a0d5201d1 use sysctl -n to get numeric result, not awk. 1999-09-06 18:52:33 +00:00
perry 4220708c27 We already had logic not to try to grab the disklabels of md's and
fd's -- add cd's to the list.
1999-09-05 15:11:42 +00:00
itojun 02972f5985 add sanity check on rtadvd invocation (allowed on IPv6 routers only).
add rc.conf entry for rtsold.
1999-09-03 13:40:15 +00:00
tsubai 5d7288c24d Increase md size to 2MB. 1999-08-28 16:49:49 +00:00
christos 4de82f14e2 check if vi recovery files are regular files before trying to e-mail them.
Stops a denial of service attack where the user can put a named pipe or
any other device that blocks i/o in /var/tmp/vi.recover/recover.*
[from dynamo@ime.net]
1999-08-28 03:39:59 +00:00
augustss bcf1e2dcad Add a comment about ttyU*. 1999-08-27 14:13:32 +00:00
augustss 22bead680a Define the callunit variable for ttyU*. 1999-08-27 14:10:51 +00:00
augustss 082fa5a748 Move ttyU* before tty*, otherwise it will not work to make ttyU device nodes. 1999-08-27 14:06:05 +00:00
augustss 5ca2c8ac27 Make creation of wsmux devices a little less confusing. 1999-08-25 23:06:46 +00:00
is f9a2f82b87 Add off entries for serial boards 1999-08-25 20:53:15 +00:00
is 193cb891af switch ttye* off, and switch /dev/console on.
This way:
- screenblank works
- we don't need to change ttys just to get console login working.
1999-08-25 20:37:10 +00:00
simonb b729f2c755 Use ${INSTPRIV} with ${INSTALL}. 1999-08-21 06:27:29 +00:00
augustss 243ba7a176 Rename umodem to ttyU. If it walks like a tty and quacks like a tty
it's a tty.
1999-08-17 20:06:57 +00:00
augustss db574ba708 Add umodem device. 1999-08-16 22:27:08 +00:00
is 79de537d1c Screenblank has supported more than sun3 and sparc for a long, long time. 1999-08-16 20:01:03 +00:00
bgrayson 7804500eab Added new directory for mount_portal examples 1999-08-16 06:31:08 +00:00
christos 6bac342db0 Create temp _motd file in /etc 1999-08-05 20:51:57 +00:00
mrg 4daf634ae3 - use -msafer not -S; this is more portable and will work with any
nroff that has the "safer" macros installed.
- correct entry for ".me" that was broken in the previous.
1999-08-02 10:43:30 +00:00
matt 8e2f403f42 Add ttyC? devices for com devices. 1999-07-31 00:00:03 +00:00
aidan 8fd15316c9 Forgot /usr/include/ss (for krb5). 1999-07-30 19:40:25 +00:00
aidan b9070123b4 Kerberos5 install paths. 1999-07-30 19:25:19 +00:00
augustss 0336dc8e2c Add mux 1 as a keyboard. 1999-07-29 19:26:08 +00:00
augustss 595da53663 Make wsmux devices. 1999-07-29 19:24:37 +00:00
abs 42a7d5014d Add some DHU-11/DHV-11 lines - from bdc@world.std.com 1999-07-28 00:58:14 +00:00
tron a992b9baef Fix PR security/8069 differently:
Add a new option "-S" to "nroff" and use "nroff -S" instead of "groff -S"
because "nroff" adds some other (moderately useful and important) options
to the "groff" execution.
1999-07-26 19:31:53 +00:00
tron 3a0a25ad87 Use "groff -S -Tascii" instead of "nroff" to avoid security problems
if "man" is used by "root". Fixes PR security/8069 by Matthias Buelow.
1999-07-26 18:42:21 +00:00
abs 1955b0db93 Put back pcs750.bin entries that were deleted in an overzealous cleanup 1999-07-25 04:23:49 +00:00
ender 75fd3e78bb From Dave Huang (khym@bga.com) in PR 8059: the MAKEDEV script was trying
to create ttyNN as the dialout device instead of dtyNN.
1999-07-25 00:47:40 +00:00
mrg 7cd460ef5e add openssl config, include and examples directories. 1999-07-23 01:04:02 +00:00
is 805851f4c7 Provide a script to compute the distribution set checksums.
Make the Makefile use it, instead of calling cksum manually.
1999-07-22 20:10:16 +00:00
wrstuden 3b55c25ad2 Teach both mac68k and macppc to create dialout devices. Modeled after
etc.i386/MAKEDEV's support.
1999-07-22 18:46:26 +00:00
hubertf 8b10c79f68 Use standard variable "$0" for the whole line instead of the non-standard,
undocumented "$LINE".

Submitted in PR 7041 by Greg A. Woods <woods@weird.com>
1999-07-22 00:47:50 +00:00
mycroft b28948e638 Make an aliases.db file when we install the aliases file. 1999-07-21 06:51:30 +00:00
abs bb69dd0964 bind comes with a very helpful sample named.conf, so install it in
/usr/share/examples/named. I'm not overwhelmed about moving the file
into src/share/examples but there is prior art (amd).
1999-07-19 02:30:43 +00:00
itojun 47b0e5ff1d IPv6 support. 1999-07-12 20:17:09 +00:00
tron 735b324857 Add "audio" target to create links "audio", "audioctl", "mixer" and
"sound" pointing to the first unit's device nodes.
1999-07-12 09:33:59 +00:00
drochner db20439533 repair diskless startup: "netstart" needs "sysctl" and "awk" now, thus
"/usr" must be mounted. mount_critical_filesystems() didn't mount it,
even if listed in "critical_filesystems", if it is nfs.
Solution: introduce another rc.conf variable
"critical_filesystems_beforenet" which contains filesystems to be mounted
before "netstart".
Perhaps "netstart" should be split up, but this would make things even
more complex...
1999-07-07 21:24:56 +00:00
fvdl ec3e468086 sparc and i386 do not have ld.so.conf anymore now that they're switched
(or about to switch) to ELF.
1999-07-04 22:11:06 +00:00
abs 5dd420a030 Add ipl and raid to 'MAKEDEV all' 1999-07-04 16:01:55 +00:00
abs 64532f71cf Add 'ipl' to 'MAKEDEV all' 1999-07-04 16:01:04 +00:00
itojun a7e88d2896 hide sysctl error messages to stderr (on checking IPv6 config values) 1999-07-04 12:51:30 +00:00
itojun 1f8a1d54df remove echo statement (was mostly for debugging). 1999-07-04 05:20:52 +00:00
hubertf 5c3edd7b4b RCS Id police 1999-07-03 20:50:39 +00:00
itojun 3c322b415a comment out sample entry. document it a bit.
From: Hubert Feyrer
1999-07-03 18:09:47 +00:00
itojun 7dcdb97971 remove unnecessary sleep (for DAD wait) in IPv6 configuration. 1999-07-03 03:40:52 +00:00
itojun 94e64335b4 add IPv6 configuration (ip6forwarding, rtsol, route6d and rtadvd).
Right now netsetart does not bother you even if you do not have
"options INET6" in the kernel.
1999-07-03 03:29:29 +00:00
itojun 134b5f49f2 rtadvd: advertise IPv6 prefix info via router advertisement.
(to be run on routers)
1999-07-02 09:28:16 +00:00
itojun 90db061921 add telnet on tcp6. 1999-07-02 06:32:32 +00:00
itojun 5202885909 provide sample lines for IPv6 services (at this moment ftpd and fingerd) 1999-07-02 06:05:21 +00:00
ross 59c991a23e Document BUILD_KERNELS. 1999-06-30 18:42:03 +00:00
ross 6e3b6566ce * Define INSTALLATION_DIRS and BUILD_KERNELS.
* Build in src/distrib
* Call the new release targets in src/distrib/{alpha,notes}

Note: The notes installation command is MI and should eventually move
      to somewhere in ../Makefile
1999-06-30 18:39:37 +00:00
augustss aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
abs 87d31b1197 Move 'random*' before 'ra*'. Now 'MAKEDEV all' works. 1999-06-27 20:06:48 +00:00
abs 4ab98c0660 Move 'raid*' before 'ra*' in case statement to avoid false match of ra*
against 'raid{0,1,2}'.
1999-06-27 20:01:49 +00:00
cgd 36f7421c84 the memory disk ('md') driver is just the standard machine-independent
driver.  Therefore, create and name its device nodes in the normal way.
1999-06-27 00:17:31 +00:00
cgd 3a7a276df9 sysinst won't work without ptys on the ramdisk image. (*sigh* How
well was sysinst tested for 1.4...)
1999-06-26 22:58:06 +00:00
cgd fe0ddd929f oops: also need to update the geometry 1999-06-26 07:33:23 +00:00
cgd ddb7bb9480 since all of the arm32 kernels provide 3400 blocks of ramdisk space, we
ought to use it (and not just 3200 blocks).
1999-06-26 06:50:20 +00:00
minoura c3d7eff366 Change permission of grf, mouse, kbd to disallow access by no-root users. 1999-06-25 15:11:02 +00:00
frueauf d14a108b4c we have no group root by default, set gname=wheel for include. 1999-06-23 17:12:15 +00:00
simonb 55d7fbaef8 Change /etc/mtree/special and /etc/sendmail.cf to mode 444, and
/usr/include to owner:group root:wheel, to match how these files
are shipped in a distribution.

From PR misc/6736 from Soren Jorvang.
1999-06-18 05:06:45 +00:00
cgd ce030a27e0 ptys should not be marked secure. 1999-06-18 04:57:01 +00:00
abs f85ff94580 Don't don't don't assume /usr/bin/id is always present. Loses in single user. 1999-06-15 05:44:22 +00:00
christos 412733582c typo 1999-06-09 01:45:49 +00:00
christos efffa3db54 Make sure fd is a directory before we df it. 1999-06-09 01:39:29 +00:00
leo ff1d4cab4a Add FALCON to EXTRA_KERNELS. 1999-06-07 14:44:46 +00:00
is 7658a91815 Create *wd[23]? device nodes, so that machines with more than two IDE
drives can be installed.
XXX The 1.4 single-floppy install has only 24 free inodes, but 32 are needed
by this. Some more work is needed (e.g., change newfs parameters for the
ram disk, or switch back to a 2-floppy install).
1999-05-31 11:14:07 +00:00
christos 364d5a1432 Correct the dhclient startup to follow the standard indentation style 1999-05-28 21:01:42 +00:00
christos a3f17d2959 Don't barf when we have fdesc mounted. Just skip the devices fdesc provides 1999-05-28 21:00:50 +00:00
gwr 93720b922f Define our own snap_kern target that builds all the kernels, but
does not install the un-patched ramdisk kernels.  The snap_md_post
target builds the installation ramdisk image, patches that into the
ramdisk kernels, and installs them.  Also the miniroot.
Automated snapshot build works now.
1999-05-21 04:02:02 +00:00
gwr 551aad7b51 The snap_kern target is not sufficiently flexible.
Allow Makefile.in to provide its own.
1999-05-21 03:45:50 +00:00
lukem 1e4c25754e * document `shells' default (suggested by cgd)
* for each database, list supported sources (it's useful to know)
1999-05-19 02:25:14 +00:00
jwise 2fe3ffc188 Modify (commented out, pre-existing) identd line to start identd `nowait'
for those who want to use tcpwrappers appropriately.

Resist temptation to add -L"something appropriate"
1999-05-18 22:20:07 +00:00
gwr a9233886c4 Increase ramdisk size 1999-05-18 07:51:34 +00:00
jwise 05bdcfc198 Minor wording change in a comment (also formerly known as -> formerly known as) 1999-05-18 03:30:02 +00:00
gwr f2a23c575b updates for the 1.4 release 1999-05-17 03:35:55 +00:00
drochner 6e4e1ddc27 connect a keyboard to the display 1999-05-15 14:28:14 +00:00
ross 55adfd0a58 Support a second tape and cd drive on installation ramdisks. 1999-05-13 22:08:48 +00:00
is c889455b1c Add 4 lpt nodes 1999-05-11 20:45:38 +00:00
hubertf e845da9348 fix spelling 1999-05-08 01:09:09 +00:00