Commit Graph

15 Commits

Author SHA1 Message Date
riz
6833444ffd Note which interface caused a resolv.conf to be created. From
Robert Elz in PR#21109, tested by Rivo Nurges.
2006-10-08 17:09:32 +00:00
dyoung
c565b00740 Replace the arp -n -a / arp -n -d rigamarole for cleaning the ARP
table with 'route -n flush -inet -llinfo -host', which is not only
more concise, but it doesn't require /usr/ to be mounted.  This
lets us close bin/11079.
2006-09-23 22:54:43 +00:00
christos
3f33249541 We don't need sed to do trivial parsing. 2006-07-10 23:07:09 +00:00
rtr
c398bfd249 avoid ifconfig <if> "" it serves no purpose
patch from Robert Elz via pr#21110
2005-07-16 08:41:27 +00:00
blymn
21cbe2316b Fix up the adding of static routes, incorrect parameters were being passed
to the route command.
2005-06-19 05:04:34 +00:00
atatat
e45456b0af Remove the date from the generated resolv.conf file, since changes to
this file are tracked by /etc/security, making it (the backup) get
needlessly updated when you go to and from work every day.
2005-04-09 02:14:52 +00:00
grant
8b9d374e09 suppress printing the network settings so that dhclient -q is actually
quiet. the most useful network info is already printed by dhclient
itself in noisy mode.
2004-10-04 12:54:06 +00:00
lukem
c52b93f508 minor makefile delint 2002-09-18 13:31:52 +00:00
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
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
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +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