|
|
@ -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 |
|
|
|