This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
Create /var/named/dev/null if it is not there and we are running named chroot'd. It would be cleaner to simply do this at install time but this way people who are tracking sources get the correct behavior too.
OPENBSD_2_4
millert
26 years ago
parent
761acbad30
commit
d590bda49e
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
src/etc/rc
+ 4
- 1
src/etc/rc
View File
@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.8
0 1998/07/11 08:41:34 deraad
t Exp $
# $OpenBSD: rc,v 1.8
1 1998/07/13 03:38:54 miller
t Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -104,6 +104,9 @@ 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
named_flags="-t ${named_chroot} ${named_flags}"
fi
echo 'starting named'; named $named_flags
Write
Preview
Loading…
Cancel
Save