diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-11-29 19:19:06 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-11-29 19:19:06 +0000 |
commit | d7f77b3ec001e0b535bbe2b9cb4bf5c7079bee7e (patch) | |
tree | becf1913834294bb0bfd11dfe1f3fafef1771719 /etc/namedb | |
parent | 0640108ef5eaf64e213692ca07bbdebf5c080ec7 (diff) | |
download | FreeBSD-src-d7f77b3ec001e0b535bbe2b9cb4bf5c7079bee7e.zip FreeBSD-src-d7f77b3ec001e0b535bbe2b9cb4bf5c7079bee7e.tar.gz |
o Add a PATH statement to the beginning of make-localhost, making it
work right when the administrator has modified their runtime environment
in a manner not anticipated by our script.
Requested by: Tom Maher <tardis@ece.cmu.edu>
Diffstat (limited to 'etc/namedb')
-rwxr-xr-x | etc/namedb/make-localhost | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/namedb/make-localhost b/etc/namedb/make-localhost index cc6a108..704fd55 100755 --- a/etc/namedb/make-localhost +++ b/etc/namedb/make-localhost @@ -6,6 +6,9 @@ # /etc/namedb/localhost.rev # +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin +export PATH + if [ "`hostname -s`" != "`hostname`" ]; then # hostname must contain domain |