|
|
@ -1,4 +1,4 @@ |
|
|
|
# $OpenBSD: rc,v 1.74 1998/06/03 16:04:07 millert Exp $ |
|
|
|
# $OpenBSD: rc,v 1.75 1998/06/03 17:12:03 millert Exp $ |
|
|
|
|
|
|
|
# System startup script run by init on autoboot |
|
|
|
# or after single-user. |
|
|
@ -85,7 +85,7 @@ rm -f /var/spool/uucp/STST/* |
|
|
|
|
|
|
|
echo 'starting system logger' |
|
|
|
rm -f /dev/log |
|
|
|
if [ "X${named_chroot}" != "X" -a "X${named_chroot}" != X"NO" ]; then |
|
|
|
if [ "X${named_chroot}" != "X" ]; then |
|
|
|
rm -f ${named_chroot}/dev/log |
|
|
|
syslogd_flags="${syslogd_flags} -a ${named_chroot}/dev/log" |
|
|
|
fi |
|
|
@ -97,7 +97,7 @@ if [ "X${named_flags}" != X"NO" ]; then |
|
|
|
if [ "X${named_user}" != "X" -a "X${named_user}" != X"root" ]; then |
|
|
|
named_flags="-u ${named_user} ${named_flags}" |
|
|
|
fi |
|
|
|
if [ "X${named_chroot}" != "X" -a "X${named_chroot}" != X"NO" ]; then |
|
|
|
if [ "X${named_chroot}" != "X" ]; then |
|
|
|
named_flags="-t ${named_chroot} ${named_flags}" |
|
|
|
fi |
|
|
|
echo 'starting named'; named $named_flags |
|
|
|