Commit Graph

240 Commits

Author SHA1 Message Date
christos d8b387a57b update resolv.conf if we have new nameservers. Don't require a domain, because
it is not needed.
2002-05-28 15:04:01 +00:00
lukem 2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +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
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 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
thorpej f4b825ded1 Add examples of how to match different classes (e.g. ia32 vs. ia64)
of PXE clients using the Vendor Class Identifier option that all PXE
clients send in their DHCP packets.
2002-02-17 20:26:03 +00:00
thorpej fbe7fa7c47 Add some definitions for the Intel PXE boot protocol that can
be included in a DHCP server configuration file.
2002-02-09 21:13:31 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
tv c98eaba8e8 dhcpd no longer needs the OS_VERSION define. 2001-08-16 18:29:20 +00:00
tv 22207c0806 Add NetBSD rcsids. 2001-08-16 18:03:03 +00:00
drochner 32af7c842a define HMAC_MD5
should fix PR security/13043 by Frank Kardel
2001-08-07 14:51:27 +00:00
drochner 96914bd8e8 our dhclient-script diverged too much from the distributed one,
keep it separate
2001-08-03 14:30:19 +00:00
drochner ecd0a03ec8 switch to reachover build from src/dist/dhcp 2001-08-03 14:13:55 +00:00
wiz d2c504636c aquire -> acquire 2001-07-26 22:50:57 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
christos 44f22a6994 make things compile again with -DSMALL 2001-06-23 00:10:06 +00:00
drochner 65ae86a522 more obsolete files 2001-06-19 14:55:30 +00:00
drochner e47db61069 some more files which disappeared in the distribution 2001-06-19 14:45:46 +00:00
drochner 9eb0a9bd7a add missing comma 2001-06-19 14:34:08 +00:00
drochner e3ef27af9b iron out some unnecessary differences between the distribution and the
NetBSD version
2001-06-19 14:22:45 +00:00
drochner ad33c4e9c3 these are not in the original distribution anymore 2001-06-19 13:58:30 +00:00
drochner d94b2b3963 fix some obviously botched error returns 2001-06-19 13:54:58 +00:00
christos a2458a3f05 use better/quicker shell syntax 2001-06-18 19:43:55 +00:00
drochner 8d1282dd17 update for moved toisc.c 2001-06-18 19:16:10 +00:00
drochner ef869f8376 merge 3.0rc8 2001-06-18 19:01:50 +00:00
drochner 5233105195 ISC DHCP 3.0rc8 2001-06-18 18:13:13 +00:00
wiz 0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
wiz 40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
christos 4fce6523d7 make the -DSMALL option work again. 2001-05-26 00:37:45 +00:00
sommerfeld 390fe67281 Add .WAIT barrier for parallel make 2001-05-08 02:03:18 +00:00
kleink 2c30ea4c58 Add missing quotes to test -z argument; from Tim Preston in PR bin/12687. 2001-04-17 23:25:38 +00:00
christos 8689c0d412 make the remove route code look exactly the same like the add code. 2001-04-11 21:53:26 +00:00
christos a775b3feee general cleanup:
1. Use standard shell indentation
2. Use [ expr -a expr ] instead of [ expr ] && [ expr ] (same with -o and ||)
3. Cleanup 0 length string tests
4. Factor out the routing code
5. Use a large switch statement based on $reason instead of the endless
   if elif's
6. Use variables for filenames used
7. Test in all cases for the existance of domainname and hostname
8. No need for individual command redirections in structured statements.

Thanks to kleink for testing and fixing my typos!
2001-04-11 21:22:53 +00:00
mellon 54c97cebbb Take out the reference to the dhcp-contrib man page. 2001-04-09 18:11:33 +00:00
mellon 69ee0ea676 Don't use BPF_WORDALIGN in the midst of unpacking the packet. 2001-04-08 20:48:52 +00:00
mellon b12f23920f Oops, dhclient-script is now expected to be in /sbin. 2001-04-08 19:57:12 +00:00
mellon 64ce71d1cd If SMALL is defined, don't support the OMAPI protocol. 2001-04-06 19:01:06 +00:00
mellon 9cc24a09b7 Merge 3.0b2pl24 2001-04-06 17:08:51 +00:00
mellon f9a2f32ef8 ISC DHCP 3.0b2pl24 2001-04-06 17:00:09 +00:00
simonb 20f99292d1 Disable tracing in the distrib client (controlled by #ifdef SMALL in
includes/site.h).
2001-04-06 06:39:54 +00:00
mellon 0f97eb2a40 Undocument SIGHUP behaviour, which is no longer present. 2001-04-05 21:38:05 +00:00
wiz 01140dad65 dhclient.conf lives in 5, not 8. Whitespace fixes. 2001-04-05 11:47:17 +00:00
mellon f22201f8eb Oops, minires->dst in DSTOBJDIR 2001-04-03 01:00:03 +00:00
mellon a7a21c452b Fix various makefile glitches 2001-04-03 00:49:15 +00:00
mellon 48c3fd90d7 No longer pertinent 2001-04-03 00:01:32 +00:00
mellon fcb927dc03 Make a BSD-style Makefile. 2001-04-02 23:59:16 +00:00
mellon 4400cf656e No longer pertinent 2001-04-02 23:55:16 +00:00
mellon b6b233a9ba Merge of 3.0b2pl23 2001-04-02 23:45:52 +00:00
mellon 7ac99333ec ISC DHCP 3.0b2pl23 2001-04-02 21:56:50 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00