Commit Graph

1412 Commits

Author SHA1 Message Date
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