Commit Graph

53 Commits

Author SHA1 Message Date
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
mellon 3c82a97a8d Merge with ISC source. 1999-04-26 15:47:03 +00:00
mellon 177a06d1a4 Resolve conflicts from Patchlevel 25 import. 1999-04-09 17:55:01 +00:00
mellon a20da108b1 Merge patchlevel 22. 1999-03-30 03:12:28 +00:00
mellon ba99fde8c5 Merge patchlevel 21 1999-03-30 01:53:57 +00:00
mellon 029f7c27bf Resolve conflicts in pl20a merge. 1999-03-30 00:12:14 +00:00
mellon 579e9efdc7 Resolve conflicts in pl20 merge. 1999-03-29 23:08:21 +00:00
mellon 3b4ecb27b5 Patchlevel 20 1999-03-29 23:00:49 +00:00
mellon 7ccf21d94d Fix conflicts in merge. 1999-03-26 17:52:45 +00:00
mellon 28f100096f Patchlevel 19 1999-03-26 17:49:19 +00:00
mycroft 867aa13949 Remove bashism, so this actually works. 1999-03-05 22:37:43 +00:00
mellon 0c19a76c66 Add some documentation on customization. 1999-03-05 18:10:36 +00:00
mellon 83ec6e889e Merge with 2.0b1pl18 1999-03-05 17:52:44 +00:00
mellon e7b0bff792 Resolve conflicts in 2.0b1pl15 1999-02-24 04:14:34 +00:00
mellon 984693e047 V2 Beta 1 Patchlevel 15 1999-02-24 04:11:01 +00:00
mellon aa0c70bd9e Merge Patchlevel 14 with trunk. 1999-02-19 22:39:06 +00:00
mellon a72b8385ee Not needed in NetBSD 1999-02-19 22:38:07 +00:00
mellon db803634cc Not needed in NetBSD 1999-02-19 22:01:10 +00:00
mellon d6ea104a53 Update call to write_client_lease. 1999-02-18 22:14:36 +00:00
mellon 2b8be45751 Resolve conflicts in 2.0b1pl13 import 1999-02-18 22:04:06 +00:00
mellon c6b1d8a95d DHCP 2.0b1pl13 1999-02-18 21:48:47 +00:00
thorpej bf316e0bb0 Make sure SIGTERM is blocked in the SIGHUP handler and vice versa. 1999-02-10 03:00:06 +00:00
thorpej be28226520 On second thought, don't use atexit(3). Instead, invoke cleanup() directly
from catch_sigterm() before calling exit().  This follows the style of
the rest of the code.
1999-02-05 18:17:27 +00:00
thorpej 3771908e3d Reinitialize leases on SIGHUP, and release leases and exit on SIGTERM. 1999-02-05 09:13:32 +00:00
thorpej 44e3c78cf9 Make sure the pidfile is gone upon exit. 1999-02-05 08:52:50 +00:00
tron 6f942f16fd Add RCS Id as suggested by Rob Windsor in PR bin/6931. 1999-02-03 00:19:00 +00:00
thorpej cd43b55bc4 Fix a typo in an ACTION_APPEND message. 1999-02-02 09:40:46 +00:00
thorpej 876f7929f4 Use ping -n; if we're running a local nameserver, it may try to
reverse-resolve the IP address we're given, which will take a while
to time out, since we're still scanning cached leases (i.e. the network
isn't up yet).
1999-01-28 23:09:07 +00:00
marc 3386dbf8ac refer to dhclient-script(8) 1998-09-24 04:45:32 +00:00
marc d09fc7c471 include the appreviation in the synopsis so that man -k works
intelligently.
1998-09-24 04:33:45 +00:00
mellon f0ee4a66e9 Oops, release the lease _before_ deconfiguring the interface. 1998-09-04 18:03:56 +00:00
mellon 17cf92b7ae Reincorporate sysconfd support. Add support for releasing leases. 1998-09-04 18:01:14 +00:00
enami b8d6676d67 add missing endif. 1998-08-26 02:11:58 +00:00
sommerfe ff9a2c8d5c oops, KNF that 1998-07-31 21:38:43 +00:00
sommerfe c13b52407e Fix long-standing bug which causes dhclient to clobber interface configs on uninvolved interfaces 1998-07-31 21:27:08 +00:00
mellon b13a0491e0 Hard-code NetBSD-specific directory names 1998-07-11 00:02:08 +00:00
mellon 53904df9e4 Document NetBSD-specific system requirements. 1998-07-10 23:58:27 +00:00
mellon 9f60f89a46 Version 2.0 Beta 1 Patchlevel 1 1998-05-18 06:53:52 +00:00
cgd 83202075dd allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-04 01:38:57 +00:00
mellon 0c2e0b74fe Build the dhclient.leases and dhclient-script man pages 1997-11-22 09:37:25 +00:00
mellon eab517a1d1 ISC DHCP Snapshot on November 22, 1997 1997-11-22 09:13:21 +00:00
mellon 8f105dcd01 NetBSD 1.3 Alpha snapshot of ISC dhcp 1997-10-20 23:28:10 +00:00
mellon 185e701358 970602 snapshot 1997-06-03 02:49:04 +00:00
mycroft 1b437a22e5 Use SCRIPTS to install this. 1997-05-07 16:17:40 +00:00
mellon 56748ee1ef Build dhclient with -static and install in /sbin unless BINDIR is overridden 1997-04-01 00:52:37 +00:00
mellon 33d15ff158 Move common declarations to single file 1997-03-29 23:09:00 +00:00
mellon 0c5591b0e4 BSD needs makefile to install client script 1997-03-29 22:46:12 +00:00