If /etc/named is a symlink, try to make sure it points the right place.

This commit is contained in:
Poul-Henning Kamp 2004-12-18 15:19:36 +00:00
parent 839f811c6a
commit cb16893698

View File

@ -48,6 +48,10 @@ chroot_autoupdate()
else
ln -s ${named_chrootdir}/etc/namedb /etc/namedb
fi
else
# Make sure it points to the right place.
ln -sf ${named_chrootdir}/etc/namedb /etc/namedb
fi
# Mount a devfs in the chroot directory if needed