NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/31504
The following reply was made to PR misc/31504; it has been noted by GNATS.
From: "matthew sporleder" <msporleder%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: misc/31504
Date: Sun, 20 Jan 2008 23:55:28 -0500
Here's an attempt at a fix for /etc/rc.d/named
--- named.orig 2008-01-20 23:25:26.000000000 +0000
+++ named 2008-01-20 23:48:38.000000000 +0000
@@ -25,7 +25,7 @@
echo "Migrating $src to $dst"
(
diff=false
- cd $src
+ cd $src &&
for f in $(find . -type f)
do
f=${f##./}
@@ -96,7 +96,7 @@
fi
done
- if [ ! -h /etc/namedb ]; then
+ if [ \( ! -h /etc/namedb \) -a \( -r /etc/namedb \) ]; then
named_migrate /etc/namedb ${named_chrootdir}
fi
if [ \( -r /etc/named.conf \) -a \( ! -h /etc/named.conf \) -a \
Home |
Main Index |
Thread Index |
Old Index