Commit Graph

5139 Commits

Author SHA1 Message Date
lukem
d280442683 - support optional secondary bootstrap arg for install (unused by
existing backends, but future ones need it)
- use "bootstrap" instead of "boot block" in various messages where appropriate
- rename some members of ib_params
2002-04-12 06:50:41 +00:00
lukem
050f6eec3e run fsync on the fsfd before closing 2002-04-12 03:15:20 +00:00
wiz
b9337deef4 ispell, and grammar fixes. 2002-04-11 12:34:31 +00:00
lukem
aa5396b0ec check size of reading bootblock against the correct size... 2002-04-11 08:02:27 +00:00
lukem
38cd7942e5 - add no_parseopt(), no_setboot() and no_clearboot() methods for back-ends
to use when they don't support a particular method
- don't automatically generate machines.c anymore
- add entries for i386 (temporarily unsupported) and shark
  (permanently unsupported)
2002-04-11 07:56:13 +00:00
martin
81bc5473a1 Fix a stupid bug when setting authentication for multiple PPP interfaces.
Add some magic to UP/DOWN interface using ISDN on startup/exit and a
configuration entry (autoupdown=yes/no) to prevent this.
2002-04-10 23:35:07 +00:00
enami
c7fb252eba - Don't assume that /usr is available. Fixes (one of?) ``fgrep: not found''.
- Don't append ``dot'' when restoring resovl.conf.
2002-04-10 10:11:41 +00:00
bjh21
dd9c5ed338 Don't use __RCSID unless it's defined. 2002-04-09 19:17:11 +00:00
jdolecek
7ddad9fe53 ignore potential error return from rm -rf results
this fixes part of misc/16227 by Stoned Elipot
2002-04-09 17:17:24 +00:00
thorpej
a819d2296f Use __RCSID() and __COPYRIGHT(). 2002-04-09 02:56:17 +00:00
thorpej
2597d53f5a Use __RCSID(). 2002-04-09 02:35:31 +00:00
thorpej
2e5904a52c Need <string.h> for memcmp(). 2002-04-09 02:06:29 +00:00
ad
4cb07f9024 Sync the firmware version report with mlx.c. Addresses PR 14155. 2002-04-07 20:18:01 +00:00
ad
b55ddcdfc4 Fix -a: correctly verify which disks belong to the current controller, and
print a more informative message if we don't find any. Addresses part of
(already closed) PR 14086.
2002-04-07 20:02:18 +00:00
bjh21
8a4f44d684 Install the compat symlink into ${DESTDIR}. 2002-04-06 15:27:55 +00:00
bjh21
de69a8cbe5 Don't install the compat symlink if this is a HOSTPROG. 2002-04-06 13:59:12 +00:00
dsainty
6533347de2 Fix trivial typo 2002-04-06 03:17:47 +00:00
martin
1ec36d3e93 Allow configuration entries that don't hardcode a specific BRI.
Fixes PR 15919 by Matthias Scheler.
2002-04-05 15:26:59 +00:00
lukem
c81588447f Add framework for adding compat symlink from /usr/mdec/installboot ->
/usr/sbin/installboot.
Enable pmax.
2002-04-04 23:01:38 +00:00
lukem
6f15862d50 enable installboot, since it's now useful for at least a couple of ports 2002-04-04 22:07:35 +00:00
bjh21
33ce139ee0 Pull in config.h as necessary to get byte-order macros etc. 2002-04-04 17:53:04 +00:00
mrg
4cf62149f5 be sure to pad the bootblock. 2002-04-04 15:36:44 +00:00
mrg
96adf034f8 clean up a bit, use fewer magic numbers. 2002-04-04 15:17:34 +00:00
mrg
5b7f1cce2d LP64isms. also, be sure to use <string.h> if we use memset or memcpy. 2002-04-04 14:00:55 +00:00
lukem
67c2e40115 Add sparc64 back-end, contributed by Matthew Green. 2002-04-04 13:45:25 +00:00
wiz
3b288fe0ef Mostly typo fixes, some formatting nits. 2002-04-04 11:06:47 +00:00
lukem
9c89a064fd -n and -v are optional ... 2002-04-04 07:27:44 +00:00
lukem
c1455b1b9a update description, history, authors, examples, bugs,
including pmax specific stuff
2002-04-04 07:24:55 +00:00
simonb
d024fa98e3 Include <limits.h> to explicitly get LONG_MAX. 2002-04-04 03:27:53 +00:00
lukem
9f1d1d933d don't pull in <dev/sun/disklabel.h> just for SUN_DKMAGIC; instead,
provide local copy of that #define.
2002-04-04 00:32:06 +00:00
lukem
06d7c45c38 Add support for alpha, based on {vax,pmax}.c and
sys/arch/alpha/stand/installboot.
XXX: not fully tested yet.
2002-04-03 10:21:01 +00:00
lukem
c37fa0cedc Migrate MD files to arch/ subdir. Suggested by Hubert Feyrer. 2002-04-03 09:09:01 +00:00
lukem
3d78281f15 Add pmax installboot back-end; from vax.c and arch/pmax/stand/installboot/*.
XXX: not tested yet.
2002-04-03 06:34:31 +00:00
lukem
36e058bfe4 whitespace foo 2002-04-03 06:29:11 +00:00
lukem
93c03c6edc replace machines.c rebuild with "regenmachines", which needs to be run
manually
2002-04-03 05:58:44 +00:00
lukem
07e4618075 Machine independent "unified" installboot(8).
Currently only supports vax, with more MD back-ends to be added RSN.
2002-04-03 05:21:16 +00:00
christos
d3ffde02ce don't add a search line if the domain name is empty. Pointed out by perry. 2002-04-02 19:16:59 +00:00
christos
93756e61ad XXX: this code needs a lot more cleanup... There is no clear malloc/free
policy and the data dependent initialization is very fragile. I.e.
     the code assumes because the data entry is of type foo, it has
     initialized certain fields and others not.
- make sure list is not NULL before you use it.
- don't realloc on every loop iteration!
- don't increment i when there are short lines; leads to uninitialized
  list[i] entries [fixes bills' core-dump, hi bill!]
2002-04-02 18:59:54 +00:00
christos
3afdbb7d94 XXX: this code has a lot of bugs and needs further cleanup.
- don't allocate:
	char *p = malloc(len * sizeof(char *))
  when you mean:
	char *p = malloc(len)
- eliminate duplicated code by creating functions and try not to wrap
- use mvwinnstr instead of mvwinstr
2002-04-02 18:57:01 +00:00
christos
1f44bd39de - don't trash the old resolv.conf.
- say that we generated it and when.
- unfortunately we cannot restore it back, since dhclient does not call us
  when it exits.
2002-04-02 17:39:47 +00:00
ichiro
56d2b07be1 fix channel list to be 1-14.
txrate parameter value determines the rate at which the
Probe request frames will be sent.
bit0 1Mbps
bit1 2M
bit3 5.5M
bit4 11M
2002-04-02 16:59:14 +00:00
agc
5e5f49ecfa Check the return code from the second invocation of installprereq(), to
make sure that a failed installation of a rpe-requisite package kills
the attempt to add the package. This reverts pkg_add(1) to traditional
behaviour.

Bump version number accordingly.
2002-04-02 15:08:33 +00:00
agc
3387a6a54e Do the previous differently. Run through the possible ranges for uids in
the command line order, then check the default range after that, if none
has yet been found.

Prompted by Brian Poole <raj@cerias.purdue.edu>.
2002-03-31 21:31:10 +00:00
martin
ac4b5b6e98 Initialize the D-channel protocol for cards attaching new.
If the kernel passes number type/plan for incoming calls, log the type
(e.g. "national" or "international").
2002-03-30 07:12:41 +00:00
jmc
1347ab1b90 Remove check for sparc64 which adds -msoft-quad-float as that is now the
default for the compiler on sparc64.
2002-03-28 09:58:09 +00:00
martin
ae7fd2a68d Make isdnd deal with attaching/detaching controllers and non-continous
BRI identifiers. Remove arbitrary, hardcoded limits.
2002-03-27 13:46:34 +00:00
wiz
e5b8ea6058 Fix typo in warning, reported by Tero Kivinen in bin/16055. 2002-03-25 19:55:41 +00:00
martin
6a2e4de618 Don't use hardcoded card type/driver type constants - those have been
removed.
2002-03-24 20:37:45 +00:00
heinz
07dc707915 typo 2002-03-23 22:31:36 +00:00
jdolecek
d437ea659d child_process(): if the input_data didn't contain any '%', the pointer
ended up _after_ the final '\0', so the code past though there are some
data to be passed to the spawned command, causing child process
crash under some circumstances; adjust input_data in this case to avoid this

XXX this is already fixed in cron 4.0-b1 (though slighly differently)
2002-03-23 09:38:02 +00:00