summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-11-29 19:19:06 +0000
committerrwatson <rwatson@FreeBSD.org>2000-11-29 19:19:06 +0000
commitd7f77b3ec001e0b535bbe2b9cb4bf5c7079bee7e (patch)
treebecf1913834294bb0bfd11dfe1f3fafef1771719 /etc
parent0640108ef5eaf64e213692ca07bbdebf5c080ec7 (diff)
downloadFreeBSD-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')
-rwxr-xr-xetc/namedb/make-localhost3
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
OpenPOWER on IntegriCloud