Commit Graph

99 Commits

Author SHA1 Message Date
tv 22207c0806 Add NetBSD rcsids. 2001-08-16 18:03:03 +00:00
drochner ecd0a03ec8 switch to reachover build from src/dist/dhcp 2001-08-03 14:13:55 +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 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
christos a2458a3f05 use better/quicker shell syntax 2001-06-18 19:43:55 +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
christos 4fce6523d7 make the -DSMALL option work again. 2001-05-26 00:37:45 +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 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 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 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
taca 0cb6a7cf94 Merge 3.0b2pl9 with head. 2000-10-17 16:10:38 +00:00
taca 70a42dc992 DHCP 3.0 Beta 2 Patchlevel 9 2000-10-17 15:07:41 +00:00
taca 5f70e573c1 - replace DBDIR, ETCDIR and RUNDIR with /var/db, /etc, /var/run.
Original dhcp package, those strings are replaced with real pathname
  when creating catman files.  Since we install man files, those strings
  should be replaced with real pathname.
2000-10-14 05:14:01 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
mellon e59a2459c4 Merge 3.0b2pl2 with head. 2000-09-04 23:19:27 +00:00
jdolecek 973a6510c5 backup previous - including ../Makefile.inc does have some
side effects (as pointed by enami), and I changed my build
environment to not need such hack
2000-07-31 17:25:47 +00:00
jdolecek 19c28ebcf8 pull in ../Makefile.inc before bsd.prefs.mk, in case someone (like me)
has some stuff depending on e.g. value of WARNS in /etc/mk.conf
2000-07-29 12:44:45 +00:00
mellon 2749a115e8 Back out previons revision in favour of a simpler solution. 2000-07-23 07:13:57 +00:00
mellon 893c278cbb Put missing PATH= in CLIENT_PATH define. 2000-07-23 07:10:00 +00:00
thorpej 84ffef610f Set the PATH environment variable properly. Now this actually
works again.
2000-07-23 05:34:53 +00:00
thorpej f407f6eb9d CPP directives go into CPPFLAGS, not COPTS. 2000-07-23 05:33:21 +00:00
pk 171b3bf97a dhcp_option_ev_name: make argument `buflen' match the prototype. 2000-07-22 20:54:56 +00:00
mellon aa27884601 Client path defined in Makefile. 2000-07-20 06:33:50 +00:00
mellon 4b564fe2bf Merge 20000719 changes 2000-07-20 05:59:17 +00:00
mellon f1127576c6 Latest revision of the ISC DHCP Distribution, with many bug fixes. 2000-07-08 20:40:10 +00:00
mellon 11e02a2cec Merge latest version, fix conflicts. 2000-06-24 06:50:01 +00:00
mellon 651c0b2dc2 Pass interface name required by format to log_fatal. 2000-06-12 18:57:43 +00:00
mellon eba9d5379d Fix a core dump caused by an uninitialized pointer. 2000-06-12 17:43:26 +00:00
mellon 3eff691939 Update makefiles and remove removed files. 2000-06-10 18:29:27 +00:00
mellon 582a2367ec Fix conflicts in merge. 2000-06-10 18:17:18 +00:00
mellon a32e54aef9 Belated import of recent DHCP core dumps, etc. Approved by releng. 2000-06-10 18:04:36 +00:00
thorpej f5fc764943 Only invoke hostname(1) and domainname(1) if they exist (tested with the
`type' shell built-in).  Makes it possible to save some space on install
media which uses DHCP.
2000-04-28 16:34:31 +00:00
thorpej acd373ca8f .cvsignore bad! bad _MelloN_, no biscuit! 2000-04-25 21:18:44 +00:00
thorpej 4ea436d3e0 Address LP64 issues (just add some casts; the code is safe). 2000-04-23 18:39:00 +00:00
mellon e04a818808 Initial merge of ISC DHCP 3.0 into NetBSD tree (incomplete) 2000-04-22 08:18:11 +00:00
mellon e86d6c24ba Initial import of version 3 of the ISC DHCP distribution. 2000-04-22 07:11:26 +00:00
mjl 2c3c567c94 From FreeBSD misc/14850: When communicating with a BOOTP server,
dhclient would fail to configure the interface and crash. Added check
for lease time option present before using that value.
1999-11-15 15:50:16 +00:00
enami 9ce05a481a Move the actual work when dhclient got signal out of signal handlers,
and make not to exit the program if the signal is hanldled properly.

Reviewed by: Ted Lemon
1999-08-24 03:25:31 +00:00
thorpej 4281f72137 If we get an NIS domain name, set it. If we set, clear it when the
lease is released.
1999-06-04 20:40:50 +00:00
thorpej a2b8006ca9 If we get a host-name option, set it. 1999-06-04 20:12:52 +00:00