Commit Graph

2289 Commits

Author SHA1 Message Date
minoura 3661bbfbf5 Set partition type = 4.2BSD. 2001-12-06 04:18:01 +00:00
wiz 70fe6c1246 Add MAKEDEV(8) for acorn32 and necessary directories. 2001-12-02 18:56:47 +00:00
augustss 47cad643f9 Make cir and irframe. 2001-12-02 10:50:26 +00:00
gmcgarry 5585cbd30c Allow sd15, to remain consistent throughout. 2001-12-02 02:51:28 +00:00
thorpej dd174632c2 Add KERNEL_SUFFIXES; it currently includes "srec". 2001-11-30 18:51:18 +00:00
thorpej 8aa58740cf Add support for specifying extra kernel name suffixes to search for
when building the kernel sets and placing gzip'd kernels in binary/kernels.
For example, if KERNEL_SUFFIXES were set to "ecoff srec", then the kernel
set would include:

	netbsd
	netbsd.ecoff (only if it exists in the kernel compile directory)
	netbsd.srec (only if it exists in the kernel compile directory)

This is useful for packaging kernel sets for platforms which have
extra special requirements for loading the kernel.
2001-11-30 18:50:09 +00:00
reinoud 1a67790534 Forgot to add this directory to the repository when creating arch/acorn32
...
2001-11-30 14:22:33 +00:00
thorpej 8bfa8833dc Add release-building glue for NetBSD/evbarm. Currently we build
two kernel sets: one for INTEGRATOR, one for IQ80310.
2001-11-29 22:46:42 +00:00
thorpej 44f4566e1a Change the way kernel sets are specified, and make them
more consistent.  To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port.  A port may
# specify the following kernels:
#
#       KERNEL_SETS             The list of kernels that will be
#                               packaged into sets, named
#                               kern-${kernel}.tgz.  These kernels
#                               are also placed in the binary/kernels
#                               area of the release package as
#                               netbsd-${kernel}.gz.
#
#       EXTRA_KERNELS           Additional kernels to place in the
#                               binary/kernels area of the release
#                               package as netbsd-${kernel}.gz, but
#                               which are not placed into sets. This
#                               allows a port to provide e.g. a netbootable
#                               installation kernel containing a ramdisk.
#
#       BUILD_KERNELS           Additional kernels to build which are
#                               not placed into sets nor into the
#                               binary/kernels area of the release
#                               package.  These are typically kernels
#                               that are built for inclusion only in
#                               installation disk/CD-ROM/tape images.
#
2001-11-29 22:45:53 +00:00
lukem 69c7349d44 fix mfs examples 2001-11-26 16:34:56 +00:00
thorpej ff0f6d3aec Fix oversight in the addition of install-etc-files target; move the
.endif for DISTRIBUTION_DONE to the right place.
2001-11-25 18:19:14 +00:00
perry 33c33d421a Synthetically generate metadata entries for passwd, spwd.db, pwd.db.
XXX Note that it can easily be argued that these should be generated by
the installer, not shipped in the tar files, but that's for another day.
2001-11-24 21:41:12 +00:00
atatat 8d76c9bee4 Watching inode usage is important, too. 2001-11-23 04:20:27 +00:00
soren 7e84b9e1db Add wscons devices. 2001-11-22 04:50:04 +00:00
itojun 53805e1cd5 uucpd supports IPv6 2001-11-21 10:27:53 +00:00
soren e5c4213a9f etc Makefile.inc for sgimips. 2001-11-20 16:41:44 +00:00
thorpej ba119b4fb0 Split the "distribution" target into "distribution" and "install-etc-files",
the latter being called by the "distribution" target.  This allows the
various /etc/... files to be installed manually in a convenient way, if
desired.

NOTE: It is INTENTIONAL that this target is not named "install".
2001-11-20 16:07:59 +00:00
perry 2d02e3afad UNPRIVILEGED->UNPRIVED 2001-11-19 05:05:06 +00:00
lukem 6a4937a4c8 use reverse_list() (from rc.subr) to reverse the list 2001-11-19 03:19:28 +00:00
lukem 50b7dbcb07 Add reverse_list(), which prints the reverse of the list of words.
Doesn't attempt to handle words with whitespace, etc.
2001-11-19 03:18:32 +00:00
augustss 6424a6316a Make more USB controller devices. You can easily have 6 these days. 2001-11-15 22:16:17 +00:00
tv 0b5c0ba712 Make the TARGET_ENDIANNESS check only valid when making release, snapshot,
or distribution.

Also, clean up the check and include <sys/endian.h> instead -- some platforms'
<machine/endian_machdep.h> pull in the definitions of _BIG_ENDIAN and
_LITTLE_ENDIAN, invalidating the test; this makes the check values uniformly
"4321" and "1234" respectively.
2001-11-13 17:14:27 +00:00
soren f6d503d78f Fix vnd blk/chr number. 2001-11-11 00:39:33 +00:00
wiz 6714016a2d add /usr/share/man/{cat,man}8/evbarm 2001-11-10 22:56:18 +00:00
thorpej 33e8c8e58d Add evbarm "etc" files. 2001-11-10 18:55:52 +00:00
thorpej bc4df2b935 Remove speed specification from the "default" entry. This allows
/etc/ttys to specify "default" and inherit whatever speed the device
is currently using (very useful for some serial console configurations).
2001-11-10 18:49:13 +00:00
lukem 949fa9ae03 remove blank lines from the lists of files to backup_and_diff 2001-11-09 09:01:20 +00:00
gmcgarry 66105909dc placeholders for wscons 2001-11-08 06:29:24 +00:00
lukem 25ebf09ae0 add various directories under /usr/include (kernel includes) and
/usr/share/nls that have previously been created by <bsd.kinc.mk>
and <bsd.nls.mk>
2001-11-06 10:56:46 +00:00
jmc 7526979e21 Don't run rules unless DESTDIR is set *and* contains a value. Fixes PR 14410 2001-10-31 02:58:58 +00:00
augustss 0f4c5ed617 Add moused, default off. 2001-10-29 23:25:00 +00:00
augustss 8abd9b8182 Create wsmuxN and wsmuxctlN together.
Use separate nodes for wsmouse and wskbd.
2001-10-29 22:50:40 +00:00
perry 6476719bea Add rm's before symlink and hard link commands.
Shouldn't be needed, but install has no other good way to deal with
this.

Pointed out by Rob Windsor in PR 14394 -- I committed his patch plus
one for something he didn't hit yet.
2001-10-29 22:18:28 +00:00
perry 6ca8767be9 Now that it will actually work, replace instances of ln with install. 2001-10-29 01:19:19 +00:00
jmc 6d536163de Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
2001-10-26 06:45:33 +00:00
tv 3f973487e6 Since <bsd.prog.mk> is included, we already have a full list of default
build rules for all standard targets.  Remove the manually-created list
of empty rules.
2001-10-24 02:43:13 +00:00
perry b159dba912 Fix a mysterious
csh: Permission denied
	csh: Trying to start from "/var/log"
message.

This was caused by the
	su -m uucp -c "uustat -a"
line being executed in a directory not readable by uucp. The login
shell implied by -m is of course root's shell, /bin/csh, which doesn't
like not being able to read the dir it is in, and thus the errors. By
temporarily cd'ing to /tmp the problem is fixed.

What is really needed, of course, is a way to tell su what shell you
want to use explicitly, especially for use in scripts where the
vagaries of which shell the login executing the script uses should not
be depended on. No such method exists. One should be added.

Indeed, it might also be nice to have a way of telling su to directly
execute a command with -c rather than using a shell to interpret the
command.

I cannot find any standards documents that specify su at the moment,
though. SuSv2 is silent on su(8).
2001-10-23 18:39:03 +00:00
perry 0d724a7b06 stylistic nit: dump -W, not dump W 2001-10-23 17:34:53 +00:00
jmc e6a08ecc0f Fix typo on pci* add's. Missing bash 2001-10-20 05:57:32 +00:00
tv 80439f53c0 Do not run MAKEDEV on "make distribution". The device nodes are not part
of the resultant tarballs; only the MAKEDEV script itself is.  Running
MAKEDEV here can futz with cross build hosts.
2001-10-19 15:07:48 +00:00
lukem 11336572c3 add -dgq to check_pkgs ls(1). suggested by @@@ 2001-10-18 16:08:24 +00:00
taca 4f34915dce Add -T option to ls(1) when -l option is specified.
This fixes none-changed files under ${backup_dir}/pkgs as bellow:

======
/var/backups/pkgs diffs (OLD < > NEW)
======
159c159
< -rw-r--r--  1 root  wheel     528 Apr 19 01:11 ja-less-332/+CONTENTS
---
> -rw-r--r--  1 root  wheel     528 Apr 19  2001 ja-less-332/+CONTENTS
2001-10-18 14:50:17 +00:00
uch 0cbd019fc3 playstation2 support 2001-10-15 16:22:50 +00:00
lukem 98228effd2 Use "nodiff" instead of "nomail" for the tag which is used to exclude
files from having the changes diff generated.  Suggested by Michael Graff.
2001-10-15 03:00:22 +00:00
lukem 9d713861f1 monitor etc/changelist again 2001-10-15 02:56:42 +00:00
lukem 74cf1ec6f4 minor optimisation suggested by christos 2001-10-14 00:42:31 +00:00
augustss 9cf0f0364b Allow creation of wsmuxctl devices. 2001-10-13 20:20:54 +00:00
lukem 6c2d977e6f A few more changes, from more discussions with Andrew Brown.
- Resurrect /etc/changelist, even if it's an "empty" file by default,
  because it's easier to use than /etc/mtree/special.local for adding
  a couple of simple files. Back by popular demand (hi @@@! :-)
- Add /etc/rc.d/* to the list of "dynamic" files; this notices changes
  in user-added scripts
- Only calculate the mtree -I nomail list once, and re-use
- Use "cat foo | while read file" instead of "for file in `cat foo`" ;
  handles whitespace better...
2001-10-13 14:22:11 +00:00
lukem 96a1608ee4 Major overhaul, with help from Andrew Brown <atatat@netbsd.org>.
Features:
- Add a bunch of stuff to /etc/mtree/special to enable removal of
  /etc/changelist:
	- files which we want to monitor for changes but don't want to
	  see the diffs of (master.passwd, ssh_host_key, ...) are
	  tagged with "nomail"
	- files which we don't want to monitor are tagged with "exclude"
	  (such as netgroup.db, kvm.db, ...)
	- monitor /etc/mtree/special.local, /root/.ssh/*
	- remove /etc/changelist, and a bunch of XXX comments
	- use mtree(8)'s -D, -I, and -E to generate lists of files to
	  actually do the changelist stuff on.
	- support /etc/mtree/special.local as an optional user-provided
	  version of /etc/mtree/special (effectively, an enhanced
	  /etc/changelist)
- Add code to monitor: /etc/ifconfig.* /etc/raid*.conf /etc/rc.conf.d/*
  including support for these files being added and removed at will.
- If /sbin/fdisk exists, backup the output of "fdisk $disk" for all
  the active disk drives as part of $check_disklabels
- Check permissions on: ~/.ssh/* ~/.shosts

Details:
- Reorder initialisation of defaults
- Remove special case for /etc/master.passwd "monitor but don't email diffs"
  with general case for other similar files.
- Keep all `autogenerated' files (such as disklabel.*, setuid.current, ...)
  in "$backup_dir/work", to minimise name clashes.
- Add migrate_file(old, new) to do the hard work of migrating files
  from the old `top level' /var/backups mechanism to the `full path'
  mechanism recently added. Use this appropriately.
- Add backup_and_diff(file, printdiffs), to the hard work of backing-up
  and diff-ing files.
- Cleanup use of shell redirects
- /bin/sh supports ~root globbing, so use it.
- Improve umask checking; use awk regex rather than awk math
2001-10-12 05:18:23 +00:00
lukem 01c63bc35a - add "ntpd" user (homedir: /var/chroot/ntpd) and "ntpd" group, for use by
future work to support a chroot(8)ed ntpd
- move /var/named -> /var/chroot/named for consistency with ntpd
2001-10-11 07:21:07 +00:00
lukem f28a27bd16 if named_chrootdir is set, always repoint the /var/run/named.pid and
/var/run/ndc symlinks, because named_chrootdir might change between
restarts and the symlinks weren't getting updated correctly in the old code.
2001-10-11 07:10:08 +00:00
chs d15ad88d82 skip "distribution" step if DISTRIBUTION_DONE is set. 2001-10-10 06:58:56 +00:00
veego 0674841150 Put the 'uustat -a' into double quotes.
It still doesn't work, but you won't get the error about an Unknown option: `-a'
anymore.

The login shell for uucp is /usr/libexec/uucp/uucico, so su -m doesn't work.
This needs to be fixed.
2001-10-09 05:28:42 +00:00
enami a28fcd776c Make mtree a host tool and use it when appropriate. 2001-10-09 05:19:03 +00:00
lukem a9b011ff87 remove unnecessary uname=root 2001-10-08 02:48:49 +00:00
lukem ff2aa3f8e8 Take advantage of mtree(8)'s recently added support for absolute paths.
Use a default "/set uname=root gname=wheel".
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	  342    1633  16272  special-relative
	  295     998  11971  special-absolute
2001-10-05 16:11:46 +00:00
lukem 877f022d22 Take advantage of mtree(8)'s recently added support for absolute paths.
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	3240    3847   43634  NetBSD.dist-relative
	 632     696   17166  NetBSD.dist-absolute
2001-10-05 16:09:38 +00:00
lukem a938c1418c minor whitespace fix 2001-10-05 01:06:17 +00:00
tv c4d13adb05 Append / to ${DESTDIR} in distrib-dirs rule; fixes PR bin/14080. 2001-10-04 16:46:22 +00:00
lukem 8c4fc91c36 replace "pkg_dbdir" with "pkgdb_dir", to be consistent with "backup_dir" 2001-10-03 15:41:25 +00:00
cjs 350cdd6a80 Since we store the output of ls for use later, make sure that we have TZ=UTC.
(Otherwise time zone changes cause us to believe that files have changed
when they have not.)
2001-10-03 07:04:32 +00:00
lukem f263bbb1eb - clean up a couple of comments
- reformat some awk blocks
- replace "sed 1d | awk '...'" with "awk 'NR==1 {next;} ...'"
2001-10-03 00:12:17 +00:00
lukem 451df90b87 add /etc/defaults/*.conf 2001-10-02 03:02:10 +00:00
lukem 937f059e75 remove rule for pkgsrc - we don't have one for any of the other source
directories.   requested in [bin/13818]
2001-10-02 01:21:27 +00:00
lukem 3e5fe9c71e add etc/rc.d/*. fixes [bin/12729] 2001-10-02 01:08:11 +00:00
lukem 10887c7f1f rc.local is technically an optional file... 2001-10-02 00:26:07 +00:00
lukem d15062c3c7 add ssh{,d}.conf, ssh_known_hosts{,2}, ssh_host_{[rd]sa_,}key{.pub,} 2001-10-02 00:16:36 +00:00
lukem 6d044e5a56 add a bunch of optional etc stuff from changelist:
Distfile bootparams bootptab ccd.conf daily.local defaultdomain
	dhclient-enter-hooks dhclient-exit-hooks dhclient.conf dhcpd.conf
	disktab ethers ftpd.conf ftpwelcome gateways hesiod.conf hosts.allow
	hosts.deny hosts.lpd ifaliases ipf.conf ipnat.conf ipsec.conf
	monthly.local mygate myname netgroup netgroup.db netstart.local
	ntp.conf passwd.conf rbootd.conf rtadvd.conf security.local
	ttyaction usermgmt.conf weekly.local
- add required stuff from changelist:
	etc/floppytab etc/netconfig etc/sysctl.conf
    	var/cron/tabs/root
	var/yp/Makefile
sort mail/ into its proper place
add some comments to remind us of things to look at in the future
2001-10-01 08:01:36 +00:00
atatat 9202500182 Add a chunk of code to check the installed pkgs list by making a list
of all installed pkgs and their +CONTENTS and +REQUIRED_BY files (if
they have one) and handling this file along with all the other
CHANGELIST stuff.

Greg Woods gets points for coming up with the idea.

Luke Mewburn asked me to do it, and provided lots of criticism along
the way.
2001-10-01 02:21:20 +00:00
hubertf d8250777f4 Make rtsol_flags default to -a, to do Router Solicitation on all
interfaces when someone sets rtsol=YES.

OK'd by Itojun.
2001-09-24 11:34:11 +00:00
lukem 5a212acf6e remove acd (non existant), add ld (for hw raid logical drives) 2001-09-24 03:19:43 +00:00
perry 5f93a646a5 add raid, remove cd drives and floppy drives from the nightly disk
permissions checks.

note: This whole thing needs to be rototilled. And yes, I'm
volunteering to do it.
2001-09-23 19:51:20 +00:00
perry 247041e342 Update the password sanity checking thusly:
1) If a password entry is of the form \*[A-z-]+, do not complain that
   the account is off but has a valid password. Thus you can do
   passwords like *ssh to indicate ssh only logins.
   We should come up with a standard scheme for what various *keywords mean.
   Note that if the field length is 13, 20 or 34 you'll still get
   bitched at.
   This code should be cleaned up. (So should the password scheme.)
2) If the entry is for "toor", don't complain that the account is off
   but has a valid shell. We ship with toor:*:, there is no point in
   complaining about it.

Part of the campaign against spurious security warning output.
2001-09-23 19:10:25 +00:00
perry 215d097e45 run mtree on the special file using the new -l option, so it will not
complain about things like files set 444 instead of 644.

part of the campaign against spurious output in the nightly security run.
2001-09-22 04:06:23 +00:00
ad fcf00dcc00 Add `dpti', which is an I2O vendor extension implementing the DPT/Adaptec
control interface. This makes it possible to run the Linux versions of
dptmgr, raidutil, dptelog and other tools under NetBSD.
2001-09-21 23:44:19 +00:00
mason 80e5affebe language corrections 2001-09-19 23:42:21 +00:00
ad 1bdee7b3c6 Create stic devices. 2001-09-18 19:58:41 +00:00
toshii 90d9e7e552 Add a new IANA registered service: italk. (a multilingual chat system) 2001-09-18 03:50:43 +00:00
hubertf a6d42bbc31 Run uustat with uid=uucp, not with euid=uucp/uid=root, to prevent
some badboys gaining back root privs. Inspided by OpenBSD.
Not that we didn't have this forever... (SA, anyone?)
2001-09-17 23:41:32 +00:00
veego 06eedf1e47 Create wsfont in the wscons target, so it would be created during a
MAKEDEV all.
2001-09-16 08:19:06 +00:00
manu c7abdf2c7c Added the clockctl device for macppc 2001-09-16 07:31:07 +00:00
mrg 3ca38a76ec add comments for previous; fixes MAKEDEV.8 generation. noted by wiz. 2001-09-15 18:31:50 +00:00
mrg 57dca874e2 create ss, ch, uk and pci devices. 2001-09-15 17:44:47 +00:00
thorpej 5fdfced15e Make pci and agp device nodes. 2001-09-15 04:45:28 +00:00
thorpej e27d25403e Fix a typo. 2001-09-15 04:42:45 +00:00
thorpej 5cd421c8c0 Create dtyC* devices, as well. 2001-09-15 04:41:46 +00:00
nathanw a089a25a28 Add PCI bus devices. 2001-09-14 21:15:03 +00:00
thorpej 6813f628ef Make pci device nodes. 2001-09-13 22:09:15 +00:00
jdolecek 41f3e70221 build GENERIC_PS2TINY and make kern-ps2tiny kern set 2001-09-13 18:08:13 +00:00
augustss 504f009161 Add an entry to make wsmux devices. 2001-09-10 21:23:53 +00:00
fvdl a00e8936cb Add agp device(s) 2001-09-10 12:58:35 +00:00
martin ef3e53a669 Add downinterfaces. Noticed by Thomas Klausner. 2001-09-08 06:06:52 +00:00
martin 552b2e3600 Make this work without parameters (i.e. manual invocation) 2001-09-04 20:40:40 +00:00
martin d7e4ab316c Add support to down some interfaces before shutting down the system. All
pppoe*  interfaces are automatically shut down by this script, others may be
added to the force_down_interfaces variable in /etc/rc.conf.
2001-09-04 18:09:13 +00:00
drochner c2335854a1 add comments for automatic manpage creation
(pointed out by Thomas Klausner)
2001-09-03 18:37:15 +00:00
drochner 19e9e70941 add vmegen and wsfont devices 2001-09-03 18:18:25 +00:00
matt cc353c4912 Sync hpcarm & arm32 conf.c (this entails shifting the i4b major numbers
up by one on arm32 and and adding notdef entries on hpcarm).
2001-09-03 01:33:38 +00:00
wiz 09c135bad9 Add some dirs needed for texinfo locale files. 2001-09-02 22:55:08 +00:00
simonb e60403a3f9 Remove rz/tz support for pmax, switch to MI SCSI. 2001-08-26 11:55:38 +00:00
eeh 97ff24357e Clean this up so it works again. 2001-08-26 05:31:28 +00:00
mrg a826a2ecf0 clean up a bit; also fix a snap_pre_md segment to be in snap_md_pre so it is actually executed. 2001-08-23 16:01:56 +00:00
mrg 5b9869d189 don't clobber INSTALLATION_DIRS, just add to it. add support for building
32 bit libraries, crt and ld.elf_so on 64 bit platforms (disabled by default).
2001-08-23 14:40:21 +00:00
mrg 31be837848 support kernel configs called `../../sparc64/conf/GENERIC32', and the like,
by stripping the dirname off by using ${configfile:C/.*\///} where necessary.
2001-08-23 14:37:02 +00:00
wiz 8624e48221 Add /usr/share/man/{cat,man}8/netwinder. 2001-08-23 01:35:36 +00:00
matt 44c7bc97b4 Add some etc.netwinder support for netwinder. XXX Far from complete
but makes snapshots possible.
2001-08-22 18:34:48 +00:00
yamt 4f36ab62b6 chown user.group -> chown user:group
according to cvs log of basesrc/etc/etc.sun3/ttyaction and
archive of source-changes, it was backed out with MAKEDEV
because of portability issue.
but i think ttyaction doesn't have that issue as it's never
executed on non-NetBSD environment.
2001-08-21 15:16:59 +00:00
mrg bf0195348a the installation directory is called miniroot not xminiroot. 2001-08-19 14:18:39 +00:00
ad e74599e179 Make newsyslog at boot optional, as it should have been. 2001-08-18 19:50:19 +00:00
wiz 8d6595d978 Add /usr/share/man/{man,cat}4/sun2 2001-08-17 07:15:12 +00:00
lukem e2773e5d61 run fsck with "-n -f" instead of just "-n"; recent changes to fsck
mean that file systems mounted read-write are skipped unless -f is given.
problem noted by andrew brown.
2001-08-09 15:30:30 +00:00
lukem ed97fbd98d create /var/named 0755 root:wheel instead of 0750 root:named 2001-08-09 01:32:46 +00:00
matt 799202c512 Fix botched commit (a conflict was committed). 2001-08-05 03:37:37 +00:00
tsutsui e6b1a09d07 Use "mtree -U" instead of "mtree -u" on making distrib-dirs
to ignore file hierarchy unmatches and check exit status of mtree
to detect actual errors on it (like "unknown user/group" etc).
2001-08-04 18:41:18 +00:00
garbled d472541074 And add sshdconf here too. Christ there are alot of files to update. 2001-08-02 05:47:59 +00:00
ad aaf3c7c88b Hook in the mly control interface on i386. 2001-08-01 20:54:16 +00:00
wiz d2b1c33dc5 Undo last: glob(3) isn't used for _whatdb (yet?).
[broke e.g. installation of devel/netcdf]
2001-07-29 15:50:29 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
jdolecek 5241fef795 add INSTALL_PS2 to BUILD_KERNELS 2001-07-21 13:38:22 +00:00
eeh 9d85345191 Build an INSTALL kernel too. 2001-07-21 05:58:28 +00:00
fredette b8927f0fc1 Renumbered the minors on the tty devices now that
the keyboard and mouse are on ttys now.
2001-07-13 03:24:49 +00:00
lukem 458d1a2516 After itojun's recent RTF_CLONED and other changes, it's not necessary to
add a route from an alias address to 127.0.0.1, so remove that code.
It's still necessary to configure lo0 -> 127.0.0.1 though, so emphasize that.
2001-07-08 07:16:00 +00:00
skrll c7ba90b340 Don't list uk twice. 2001-07-06 07:45:47 +00:00
tron 3543e0f5fa Start "ipmon" with option "D" for daemon mode instead of starting it
in a subshell.
2001-07-05 05:26:57 +00:00
joda b53f2df0b2 add AFS services, mostly from IANA 2001-07-02 16:07:04 +00:00
lukem c46620e9a9 take advantage of glob(3) support when defining _whatdb 2001-06-25 21:38:29 +00:00
veego 797097c7d1 Another place where primes was used. Change it to moduli. 2001-06-24 17:28:05 +00:00
itojun ca02da9f00 pim6dd.conf is gone. primes -> moduli (openssh) 2001-06-23 22:07:06 +00:00
tv 6a7dd372b3 Do what we should have been doing long ago; use /dev/console by default as the
boot console tty, so that the console is on the same place that the kernel
dmesg output goes, whether wscons or serial.  Users who want to use tty00
or ttyE0 explicitly can change /etc/ttys themselves.

Also use "vt100" as terminal type for /dev/console (for a reasonable baseline
that also works with wscons; pccons is long since no longer default).

This addresses PR install/13249, i386-specific, but may be appropriate to
apply to all ports.
2001-06-19 20:06:46 +00:00
lukem 684e89f355 use mktemp(1) to create temporary directories, and ensure that cleanup traps
are setup asap.
2001-06-18 10:54:02 +00:00
lukem 50aa483991 Improve run_rc_script():
- Skip files that end with `~', `#', `.OLD' or `.orig', as these are usually
  scratch or backup files created by programs, and we don't want to start them.
- Only try and run non `.sh' files if they're executable.

Per discussions with Andrew Brown, and closing his PR [bin/9981].
2001-06-18 06:53:45 +00:00
lukem f27a0c8f42 Now that "fsck -p" skips file systems that are mounted read-write,
always perform the disk check (unless /fastboot exists).  Previously
this would only occur when booting directly to multi-user, so the
fsck wouldn't happen after a single user boot going into multi-user.
2001-06-18 06:42:35 +00:00
jdolecek e3dc57afeb Make also ed1 for 'all', create ed0, ed1 for 'floppy' 2001-06-17 11:48:09 +00:00
lukem d7d9b87b1c Complain if $amd_master is set. This variable was used in 1.5 and prior
releases, but has been ignored since an am-utils update six months ago.
This fixes [misc/11971] submitted by Jun-ichiro itojun Hagino.  (Note that
$amd_flags is still supported, contrary to what the PR says).
2001-06-17 01:05:40 +00:00
lukem 919eb089e2 change mountd to use its own $mountd variable (instead of $nfs_server).
nfsd will complain if mountd isn't set.  from [misc/13135] by Johnny C. Lam.
2001-06-16 06:13:09 +00:00
lukem 586521f84e - Implement an optional global watchdog timeout for rc.shutdown, which is
enabled by setting $rcshutdown_timeout to a number of seconds to wait for
  before terminating rc.shutdown.  This is disabled by default.
- Use symbolic names rather than numbers when defining a trap.
- Improve some comments.
2001-06-16 04:09:19 +00:00
lukem bd7fad6c47 use symbolic signal names instead of numbers 2001-06-14 07:50:06 +00:00
simonb a0a111aa26 Add support files for the Walnut. 2001-06-13 15:13:24 +00:00
simonb d201b0b96b Add support files for the Walnut. 2001-06-13 14:53:29 +00:00
chris ecc1e181a0 Checking support for fcom to arm32 MAKEDEV, fixes pr 11076. 2001-06-10 22:07:23 +00:00
chris 68536ce2c4 Fix arm32 MAKEDEV, the script for handling ttyv had a typo. 2001-06-10 22:05:44 +00:00
kim a81dea8eca Remove duplicate usr/share/man/cat8/news68k added in revision 1.159... 2001-06-08 21:16:15 +00:00
kim 8966f5524c not usr/share/man/cat8/new68k but usr/share/man/cat8/news68k 2001-06-08 21:13:23 +00:00
tron a35d0a5c89 Add missign directory "./usr/share/man/cat8/news68k". 2001-06-08 16:45:37 +00:00
wiz 5fc8a3a2c4 Remove empty sections (confuse MAKEDEV2manpage) 2001-06-08 14:43:20 +00:00
wiz cffe2f2fdb Add some more arch-specific man8/cat8 subdirs. 2001-06-08 14:24:44 +00:00
wiz ed9cc9d27c scsi(4), not scsi(8) 2001-06-08 14:17:41 +00:00
rafal c9d0f70329 Fix typoe in Jason's last change. 2001-06-08 01:34:36 +00:00
thorpej 17207724f6 Update the console entries for new tty names. 2001-06-07 20:16:55 +00:00
thorpej 082e7c8634 Change the serial port entries to ttyC? ("com") and ttyZ? ("zstty"). 2001-06-07 20:05:13 +00:00
briggs 07afe48412 Add template fstabs for NFS and scsi disk. 2001-06-07 16:47:12 +00:00