summaryrefslogtreecommitdiffstats
path: root/named.init
diff options
context:
space:
mode:
authorjvdias <jvdias@fedoraproject.org>2004-09-20 16:25:13 +0000
committerjvdias <jvdias@fedoraproject.org>2004-09-20 16:25:13 +0000
commitd3f5585cfd59e7bcf07d47033f4ba618651553e1 (patch)
tree776ccf5e16bd527dfcca21e9ef97d624b2ed439b /named.init
parent1025afb8a1ef9cee0de5f1267cdac553519f72b9 (diff)
downloadbind-d3f5585cfd59e7bcf07d47033f4ba618651553e1.tar.gz
bind-d3f5585cfd59e7bcf07d47033f4ba618651553e1.tar.xz
bind-d3f5585cfd59e7bcf07d47033f4ba618651553e1.zip
upgrade to bind-9.2.4rc8 & fix bug 106572/132385
Diffstat (limited to 'named.init')
-rwxr-xr-xnamed.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/named.init b/named.init
index f5534e3..317f034 100755
--- a/named.init
+++ b/named.init
@@ -38,6 +38,9 @@ start() {
if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then
OPTIONS="${OPTIONS} -t ${ROOTDIR}"
ckcf_options="-t ${ROOTDIR}";
+ if [ -s /etc/localtime ]; then
+ cp -fp /etc/localtime ${ROOTDIR}/etc/localtime
+ fi;
fi
conf_ok=0;
if [ -x /usr/sbin/named-checkconf ] && /usr/sbin/named-checkconf $ckcf_options; then