summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/rc6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index ae16d5d7bad..1cbe75af5fa 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.82 1998/07/13 23:24:57 deraadt Exp $
+# $OpenBSD: rc,v 1.83 1998/07/24 18:01:25 millert Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -107,6 +107,10 @@ if [ "X${named_flags}" != X"NO" ]; then
if [ ! -c "${named_chroot}/dev/null" ]; then
( cd /dev ; pax -rw -pe null ${named_chroot}/dev )
fi
+ if [ -f /etc/localtime -a -d "${named_chroot}/etc" ]; then
+ cmp -s /etc/localtime "${named_chroot}/etc/localtime" \
+ || cp -p /etc/localtime "${named_chroot}/etc/localtime"
+ fi
named_flags="-t ${named_chroot} ${named_flags}"
fi
echo 'starting named'; named $named_flags