Commit Graph

2369 Commits

Author SHA1 Message Date
briggs bc565cd41f Sync with walnut/conf.c (leaving alone devices that are present here, but not
in the configuration).  wd mismatch pointed out by smi@sm.sony.co.jp
in port-powerpc/16165.
2002-04-02 05:24:59 +00:00
thorpej f22a65a5af Add etc files for NetBSD/algor. 2002-04-01 23:32:17 +00:00
bjh21 3d0d823bd8 Fix up makesums line to use ${MAKESUMS} and the correct directory. 2002-04-01 19:12:16 +00:00
bjh21 9f2fd14aea When doing a "for" loop over a potentially-empty list
(${KERNEL_SUFFIXES}), put the list in a shell variable and use that.
Both bash (before 2.05a) and Solaris /usr/xpg4/bin/sh report a syntax
error otherwise.
2002-04-01 17:32:19 +00:00
briggs 1d412354be Use a major number for random/urandom that agrees with walnut/conf.c
Fixes port-powerpc/16151 from smi@sm.sony.co.jp.
2002-04-01 15:48:56 +00:00
bjh21 3f0d7066b3 Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
2002-03-31 16:07:53 +00:00
bjh21 1050fe6ae0 Put boot26 in the installation/misc directory, since that's where it's
documented as being.
2002-03-31 16:02:30 +00:00
thorpej 4439396ab7 Add "aout" to KERNEL_SUFFIXES. 2002-03-31 03:39:55 +00:00
tsutsui 139abed8af Make only necessary wscons devices for floppy. 2002-03-30 07:40:37 +00:00
thorpej 5c1d6ea346 Fix shark release building targets. 2002-03-30 06:55:17 +00:00
matt c10fde1f31 Add iso-image_md_pre (place boot & netbsd at root of ${RELEASEDIR})
Add iso-image_md_post (install bootblock).
Now make iso-image can make a bootable vax cdrom image.
2002-03-29 22:14:20 +00:00
thorpej 04964cce1a Add binary/gzimg to INSTALLATION_DIRS. 2002-03-29 20:20:24 +00:00
matt e4d7babf1f Change pcs750.bin processing so it works UNPRIVED=. XXX this needs to be
moved to someplace with an objdir.
2002-03-29 04:45:37 +00:00
heinz 2a013fd8a8 synced field names with newsyslog.8 2002-03-29 02:47:26 +00:00
thorpej 45e7aa90b4 Add evbarm snapshot/release targets. 2002-03-28 22:18:23 +00:00
thorpej 710c13a6cd Add the IQ80321 kernel. 2002-03-28 20:55:58 +00:00
lukem e512d5dcf7 Set command_args to '-f ${sshd_conf_dir}/${name}.conf'.
This occurs before the first load_rc_config() so that it may be
overridden by the user, and appears in single quotes so the
variables don't get evaluated until the eval in run_rc_command().
Problem noted by Patrick Welche <prlw1@cam.ac.uk> in [bin/15912].
2002-03-27 09:15:54 +00:00
lukem 5ee7ac8886 Replace $critical_filesystems_beforenet with $critical_filesystems_local .
Replace  $critical_filesystems            with  $critical_filesystems_remote .

The new names are now consistent with the type argument that
mount_critical_filesystems() is called with, and allows for other types to
be easily supported by that function.

For backwards compatibility purposes, if the now obsolete variable is defined
(even empty), it takes precedence over the new form, and you will be warned.
If you want to stop the warnings, update your rc.conf(5) settings!
2002-03-27 08:53:39 +00:00
lukem 1dad4ca74f clean up warnings.
don't bother setting defcorename from obsolete $defcorename.
2002-03-27 08:03:08 +00:00
lukem 88eb34e804 clean up warning 2002-03-27 07:37:56 +00:00
lukem 5260db633f etc/ssh is mode 0755 not 0644. Noted by Toru TAKAMIZU on current-users. 2002-03-27 07:15:57 +00:00
uch 9c5fd0f84c change MAXPARTITIONS to 16. 2002-03-26 11:01:45 +00:00
wiz 7a92731e6f Fix typo in last (which broke the script). 2002-03-25 03:22:10 +00:00
wiz e90cd48a1b Sort a line. 2002-03-24 22:36:49 +00:00
bjh21 f0540e4a02 Rename man page directories, arm26 -> acorn26. 2002-03-24 22:31:13 +00:00
bjh21 2718876fd5 Rename etc.arm26 -> etc.acorn26 2002-03-24 21:20:38 +00:00
scw f2ac082f14 For md*, create md?a instead of just md?. 2002-03-24 17:58:54 +00:00
sommerfeld 626f81690e Improve information density of output -- add the dozen -reject routes
with "route -q" since they are always the same and convey no useful
information.

While we're here, use sysctl -qw instead of sysctl -w >/dev/null
2002-03-24 17:58:21 +00:00
lukem cb067e4b20 also check $rc_force != "" to determine if operation should occur 2002-03-24 15:52:41 +00:00
lukem 398a7fe250 remove unnecessary precmd 2002-03-24 15:51:26 +00:00
lukem c0685815ef - Add sanity checks recommended by Robert Elz in [bin/13871] (with slight mods)
- Use symbolic trap names
2002-03-24 15:08:58 +00:00
hamajima 478c242dda add audio device 2002-03-23 09:06:50 +00:00
shin 3697ddb919 now TX3922 support is in GENERIC. 2002-03-23 03:20:30 +00:00
shin 63a9e42e02 add lkm. 2002-03-23 03:17:01 +00:00
shin f8fe1d3f46 change MAXPARTITIONS to 16. 2002-03-23 03:14:54 +00:00
itojun f7086ae500 move ssh config file to /etc/ssh 2002-03-22 15:47:01 +00:00
thorpej 96776149fc Correct the "direction" of the barrier dependencies (DAEMON, LOGIN,
NETWORKING, and SERVERS) by specifying that certain things should
come BEFORE a given barrier, rather than having the barrier REQUIRE
a service.  This allows scripts to be removed without having to
edit the barrier dependencies.

As discussed on tech-userlevel, and approved by Luke.
2002-03-22 04:33:57 +00:00
lukem 1a286b1407 - Rename a bunch of "internal" run_rc_command() variables and officially
make them "externally" available:
	Previous	Current		Purpose
	--------	-------		-------
	_arg		rc_arg		Argument to command, after fast/force
					processing performed (and prefix
					removed)

	_flags		rc_flags	Flags to start the default command
					with.  Defaults to ${name}_flags,
					unless overridden by $flags from the
					environment.  This variable may be
					changed by the precmd method.

	_pid		rc_pid		PID of command (if appropriate).

	_rc_run_fast	rc_fast		Not empty is "fast" was provided.

	_rc_run_force	rc_force	Not empty is "force" was provided.

- Use rc_flags instead of _flags or ${name}_flags in various rc.d scripts,
  so that $flags from the environment overrides ${name}_flags from rc.conf(5).
  Fixes [bin/15800].
2002-03-22 04:16:38 +00:00
itojun 960e8c173d add postfix config files. PR15659 2002-03-22 04:03:44 +00:00
lukem 3c3d3219ff Implement rc.conf(5) variable `` $swapoff ''.
If set to yes, block-type swap partitions will be deleted upon shutdown.
This can be useful if swapping onto a RAIDframe device, but may cause
unnecessary delays during shutdown for the general case, so it's
disabled by default.
Should resolve [bin/14433] and [kern/14769].
2002-03-21 23:08:35 +00:00
lukem d40d675711 - Add run_rc_command() control variable $command_interpreter
If set, the first line of $command is read, the leading #! is
  removed, whitespace is normalised, the first word is checked
  against $command_interpreter, and the result is used as the
  string to match in the ps(1) output.
  This code isn't infallable, but works for common cases such as
	#!/bin/sh
	#!  /usr/pkg/bin/perl  -w
  This helps solve the problem described in [bin/15563], and by
  Ed Ravin on tech-userlevel.

- Move the common elements of check_process() and check_pidfile() into
  _find_processes(), and call appropriately.
2002-03-21 12:21:00 +00:00
bjh21 b15cf8e89f Correct "makesums" calls to use the correct directory name for installation
kernels.  This should fix PR port-arm/14145.
2002-03-20 17:05:52 +00:00
tshiozak dc7d18ff88 refine i18n stuffs.
- add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.
2002-03-17 22:14:05 +00:00
martin 093f5dbc55 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 17:03:28 +00:00
ad 087ddca279 Move `stic*' before `st*' to avoid a false match. 2002-03-16 16:56:44 +00:00
tsutsui ffe9018d26 Remove st1 and unnecessary wscons devices from floppy. 2002-03-16 16:42:46 +00:00
tsutsui fbe3c6dd52 Make also sd2 and sd3 devices for install floppy. 2002-03-16 16:05:22 +00:00
jandberg 9ddf538d8e added wscons vts 2002-03-13 19:38:05 +00:00
lukem 9bcc098690 Use ${_arg}_postcmd even if we're not using the default ${_arg}_cmd method. 2002-03-13 06:58:34 +00:00
lukem 9cfa003dc7 Implement ${_arg}_postcmd support, which is run if a default
start/stop/reload/restart operation succeeds (i.e, zero exit code).
Code from Lubomir Sedlacik <salo@Xtrmntr.org>.
2002-03-13 04:50:08 +00:00