diff --git a/etc/namedb/make-localhost b/etc/namedb/make-localhost index cc6a1083f4d0..704fd557deb4 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