summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-09-12 18:21:49 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-09-12 18:21:49 +0000
commitea34017fd9f57f76c0e1875af9250ce956390d40 (patch)
tree5a2699a62454d82622fe43f3edaf3e1b460498c1 /etc
parent6db894db317c8a6d93b1c3525f38a6dbb8403dc4 (diff)
We no longer need to install copies of /dev/null and /etc/localtime
in named's chroot jail. These things are now dealt with before named chroots.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc9
1 files changed, 1 insertions, 8 deletions
diff --git a/etc/rc b/etc/rc
index efb8630dae6..570d2cfe0dc 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.204 2002/09/06 21:30:22 deraadt Exp $
+# $OpenBSD: rc,v 1.205 2002/09/12 18:21:48 millert Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -203,13 +203,6 @@ if [ "X${named_flags}" != X"NO" ]; then
named_flags="-u ${named_user} ${named_flags}"
fi
if [ "X${named_chroot}" != "X" ]; 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