summaryrefslogtreecommitdiffstats
path: root/contrib/isc-dhcp
Commit message (Collapse)AuthorAgeFilesLines
* dhclient-script.conf lives in /etc and not /sbin.keramida2002-01-231-2/+2
| | | | | | PR: docs/32008 Submitted by: John E Hein <jhein@timing.com> Approved by: obrien
* Connect std{in,out,err} to *something* so that "hooks" scripts that writeobrien2001-07-161-0/+7
| | | | | | | | | | to std{err,out} will not spam /etc/resolv.conf. Ted Lemon fixed the problem in version 3 of the client, but only for the pre-daemonized case. Thanks to Brian for pointing that out and helping to make our future dhclient (v3) better. Submitted by: brian
* Consistently space the output.obrien2001-03-311-5/+5
|
* * Consistently use the `make_resolv_conf' function.obrien2000-11-041-13/+7
| | | | | | | * Better handling of the 127.0.0.1 route. * Minor style tweak to reduce diffs from v3 script and ours. Obtained from: ISC v3 client script
* This commit was generated by cvs2svn to compensate for changes in r68325,obrien2000-11-042-4/+8
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Patchlevel 5 of the ISC 2.0 dhcp client plus bug fixes from theobrien2000-11-042-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | beta ISC DHCP version 3 offering. In message http://www.isc.org/ml-archives/dhcp-client/2000/10/msg00001.html author Ted Lemon stated "This will not be fixed in any 2.0 release - 2.0 is no longer being maintained." to a reported problem about an interoperability problem against Microsoft servers. FreeBSD went with the ISC client vs. the WIDE client because others convinced me it was better supported. Sigh. I wonder if version 3 will get the same treatment after its release... Since FreeBSD generally uses only released contrib products and the ISC version 3 offering is still in beta, our backs are up against the wall. The common/options.c rev 1.65 work around for erroneous Microsoft DHCP servers has been back ported to the version 2.0pl5 client. Since this comes from a change in the vendor's own code (and would no doubt also be committed to the version 2 client if the author were still supporting it), we will consider this a vendor release and import this as such. PR: 21658 Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
* | Fix conflicts.obrien2000-11-041-1/+1
| |
* | This commit was generated by cvs2svn to compensate for changes in r68320,obrien2000-11-043-7/+19
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import Patchlevel 5 of the ISC 2.0 dhcp client.obrien2000-11-044-9/+21
| |
| * Vendor approved fix where with some CIDR subnets, dhclient would set theobrien2000-08-091-1/+1
| | | | | | | | | | | | | | broadcast address to the [sub]net address. Approved by: Ted Lemon <mellon@nominum.com> Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* | Fix conflicts.obrien2000-08-091-1/+1
| |
* | Use the cleaner "-n" syntax w/in [] rather then compare against `""'.obrien2000-07-281-6/+6
| | | | | | | | Submitted by: green
* | Prevent 'set' from it interpreting the shell var as an argument.obrien2000-07-281-6/+6
| | | | | | | | Submitted by: green
* | The result of 'set' gives parameters starting with $1, not $0.obrien2000-07-281-1/+1
| | | | | | | | Submitted by: green
* | Back out rev 1.12 (safe quoting) until I have a chance to rework the changeobrien2000-07-241-77/+77
| | | | | | | | | | and get wider testing. Too many people are having problems with the script in its current form.
* | Fix vendor bogon where one of dhcp_option_ev_name()'s formal parameterobrien2000-07-201-1/+1
| | | | | | | | | | | | | | | | types did not match the prototype. (Note: this is one bug that an Ada compiler would have found as when you typedef a new type, the new type is not assignment compatabile with the type used to make it up. C should only be so featureful.)
* | Update to match the upgrade I just performed.obrien2000-07-201-6/+5
| |
* | Careful with long, command-line provided interface names.obrien2000-07-201-1/+1
| | | | | | | | Obtained from: OpenBSD (rev 1.5)
* | arp(8) invocations fixed -- one does not use "-n" with "-d".obrien2000-07-201-3/+3
| | | | | | | | Obtained from: OpenBSD (rev 1.7)
* | safe shell quotingobrien2000-07-201-77/+77
| | | | | | | | Obtained from: OpenBSD (rev 1.6)
* | Make sure we delete the PID file when we exit.obrien2000-07-201-0/+2
| | | | | | | | | | Obtained from: OpenBSD rev 1.3 (this semi-security fix was hidden as a lease time fix)
* | Add yet more options to usage() that the author did not document.obrien2000-07-202-2/+16
| |
* | Careful with long, command-line provided interface names.obrien2000-07-201-1/+1
| | | | | | | | Obtained from: OpenBSD (rev 1.7)
* | Fix conflicts.obrien2000-07-202-86/+152
| |
* | This commit was generated by cvs2svn to compensate for changes in r63616,obrien2000-07-206-8/+22
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import Patchlevel 3 of the ISC 2.0 dhcp client.obrien2000-07-208-94/+173
| |
* | This commit was generated by cvs2svn to compensate for changes in r62475,obrien2000-07-033-7/+12
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import Patchlevel 2 of the ISC 2.0 dhcp client.obrien2000-07-033-7/+12
| |
* | Change $FreeBSD$ placement.obrien2000-06-261-2/+2
| |
* | Removed the doubled $FreeBSD$.obrien2000-06-261-2/+0
| |
* | Merge in rev 1.2 ("-1"), and rev 1.6 (be quiet).obrien2000-06-261-5/+11
| |
* | This commit was generated by cvs2svn to compensate for changes in r62104,obrien2000-06-2617-273/+1254
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import Patchlevel 1 of the ISC 2.0 dhcp client.obrien2000-06-2618-278/+1262
| |
* | Revert rev 1.10 as I took the bug report too much on face value. The bugobrien2000-05-201-8/+8
| | | | | | | | | | | | | | | | submitter has been refered to the ISC to determine if there his problems are due to a bug in the script. As a side note, `man 8 ifconfig' does not show "ifconfig -alias" as being acceptable, but it is and does server a purpose.
* | Our `ifconfig' syntax uses "alias" not "-alias".obrien2000-05-201-8/+8
| | | | | | | | Submitted by: Per Kristian Hove <Per.Hove@math.ntnu.no>
* | Only log when there is a real change to the configuration state.obrien2000-01-151-9/+12
| | | | | | | | Requested and Tested by: unfurl
* | Fix dhclient-exit-hooks location. (PR 14253)asmodai2000-01-131-1/+4
| | | | | | | | | | | | | | Add $FreeBSD$ CVS identifier. PR: 14253 Submitted by: Arcady Genkin
* | Do not add routes for localhost to the `dhclient' controlled interface.obrien1999-12-121-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing so is bogus if the loop-back interface was not configured. Typically ``network_interfaces="auto"'' will return the list of interfaces such that "lo0" is not first. Thus there are times when `dhclient' configs an interface before "lo0" is configured. Under BSD4.4, there's no need to add the above route, as it will be automatically generated by the kernel. PR: conf/14098, misc/15183 Submitted by: luoqi (true identification of the problem)
* | Style nit.obrien1999-12-081-1/+1
| |
* | Document what "X" in the table means.obrien1999-12-081-0/+3
| |
* | Add FreeBSD tag.obrien1999-09-081-0/+1
| |
* | Don't -ko anymore.obrien1999-09-081-1/+1
| |
* | Document that dhclient-script will only set the hostname if it is unset.obrien1999-09-021-1/+6
| | | | | | | | Submitted by: John Baldwin <jobaldwi@vt.edu>
* | Check to see if /usr/bin/logger exists before using it. Use "echo" ifobrien1999-08-101-1/+5
| | | | | | | | | | | | /usr/bin/logger is not available. Noticed from: error messages in -CURRENT's sysinstall Alt-F2 debug screen
* | Log hostname settings/changes.obrien1999-08-041-0/+1
| | | | | | | | Submitted by: John Baldwin <jobaldwi@vt.edu>
* | Back out rev 1.2. The correct type of host-name is `X'. There was a problemobrien1999-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | with options.c which was fixed in ISC's version 2.0 (rev 1.1.1.2 --> 1.1.1.3). I have tested host-name with both types `X' and `t' and things work fine either way. I would prefer to match the offical sources when easily possible. PR: 12205 Submitted by: John Baldwin <jobaldwi@vt.edu>
* | MFS: use logger(1) instead of plain echo(1).obrien1999-08-041-2/+7
| | | | | | | | | | (some how these local changes made it out of my local tree into the repository, so lets do it right)
* | Support the setting of hostname via DHCP.obrien1999-08-041-0/+7
| | | | | | | | Submitted by: myself & Ted Lemon <mellon@isc.org>
* | dhclient-lease(8) -> dhclient.leases(5)nik1999-07-301-1/+1
| | | | | | | | | | PR: docs/12619 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
* | Correct reference to dhclient.conf(5) (was dhclient.conf(8)), as pointednik1999-07-301-1/+1
| | | | | | | | | | | | | | | | out in the PR. Correct typo on the same line, which was not pointed out by the PR. PR: docs/12619 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
OpenPOWER on IntegriCloud