Commit Graph

14 Commits

Author SHA1 Message Date
David E. O'Brien
11c898d281 arp(8) invocations fixed -- one does not use "-n" with "-d".
Obtained from:	OpenBSD (rev 1.7)
2000-07-20 09:55:08 +00:00
David E. O'Brien
38234a80b2 safe shell quoting
Obtained from:	OpenBSD (rev 1.6)
2000-07-20 09:53:10 +00:00
David E. O'Brien
0b8f0431a4 Revert rev 1.10 as I took the bug report too much on face value. The bug
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.
2000-05-20 18:01:05 +00:00
David E. O'Brien
866299fe42 Our `ifconfig' syntax uses "alias" not "-alias".
Submitted by:	Per Kristian Hove <Per.Hove@math.ntnu.no>
2000-05-20 17:47:06 +00:00
David E. O'Brien
9c1f8f49ec Only log when there is a real change to the configuration state.
Requested and Tested by:	unfurl
2000-01-15 22:46:40 +00:00
David E. O'Brien
378ece9d7b Do not add routes for localhost to the `dhclient' controlled interface.
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)
1999-12-12 01:04:36 +00:00
David E. O'Brien
b5654446c3 Check to see if /usr/bin/logger exists before using it. Use "echo" if
/usr/bin/logger is not available.

Noticed from:	error messages in -CURRENT's sysinstall Alt-F2 debug screen
1999-08-10 07:16:00 +00:00
David E. O'Brien
c4d662c3e3 Log hostname settings/changes.
Submitted by:	John Baldwin <jobaldwi@vt.edu>
1999-08-04 15:12:27 +00:00
David E. O'Brien
d836821b60 MFS: use logger(1) instead of plain echo(1).
(some how these local changes made it out of my local tree into the
repository, so lets do it right)
1999-08-04 05:46:11 +00:00
David E. O'Brien
0e8d72b9e2 Support the setting of hostname via DHCP.
Submitted by:	myself & Ted Lemon <mellon@isc.org>
1999-08-04 05:34:33 +00:00
David E. O'Brien
76505dc90c Fix conflicts. 1999-05-02 09:24:16 +00:00
David E. O'Brien
3ab6b5e6f7 Our ping doesn't have the ``-w'' option.
Submitted by:	Kevin Street <street@iname.com>
1999-03-30 21:21:23 +00:00
David E. O'Brien
b02401bdd6 Virgin import of ISC-DHCP v2.0b1pl11 1999-02-11 12:40:22 +00:00
David E. O'Brien
cd2d014aab Virgin import of ISC-DHCP v2.0b1pl6 1999-02-10 09:10:13 +00:00