Commit Graph

56 Commits

Author SHA1 Message Date
Bill Paul
bdb44d5fb6 Stop callbootd from dumping core when attempting to directly query a
bootparam server on a host that isn't running bootparamd: if clnt_create()
comes back with a NULL pointer, bail out with an error.
1995-03-26 03:15:39 +00:00
Bill Paul
c7f2725d43 Took out .include "../../Makefile.inc" which shouldn't be needed now that I
put a proper Makefile.inc in the top level of the bootparam heirarchy.
(Someday I'll learn. *sigh*)
1995-03-02 22:00:33 +00:00
Bill Paul
c529ee1973 Whoops. I knew I was forgetting something. 1995-03-02 21:24:54 +00:00
Jordan K. Hubbard
60e2f05af7 My patch this morning was not complete. I never tested make install - stupidly
thinking that it would work :( The install program never get a destination
directory. Here is another patch that should also be added. I think this
should be the last one for these makefiles :)

[Note:  I realize that there are more things wrong than this, but this should
at least get the tree compiling again! -jkh]

Submitted by:	John Hay <jhay@mikom.csir.co.za>
1995-03-01 20:36:20 +00:00
Poul-Henning Kamp
1214e6da66 The current bootparamd makefiles break if you do a make obj first. It does
work if you don't have the obj link. Here is a patch for it. It will still
work if you don't have an obj link:)

(I stuck a ${DESTDIR} in front of the absolute path to /usr/include... /phk)
Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1995-03-01 08:04:40 +00:00
Bill Paul
b9fefab743 Obtained from: The Xkernel source distribution
I hope I'm doing this right.

This is an initial version of bootparamd for FreeBSD based on a public
domain rpc.bootparamd implementation by a gentleman named Klas Heggemann.
This program has apparently been around for a while. The README explicitly
lists the code as public domain, so I guess it's safe to use.

This program is needed for booting diskless SunOS and Solaris machines.
rarpd is also required, but that's in the works too.

I have made two changes to this code:

- Implemented NIS lookups. If /etc/bootparams contains a '+' then the
  bootparams map is consulted.

- Allow 0.0.0.0 as a user-specified router address. The SunOS rpc.bootparamd
  returns this value in many cases.
1995-02-26 23:40:53 +00:00