Subject: CVS commit: basesrc/etc/rc.d
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 01/18/2002 12:51:31
Module Name:	basesrc
Committed By:	lukem
Date:		Fri Jan 18 10:51:31 UTC 2002

Modified Files:
	basesrc/etc/rc.d: ntpd

Log Message:
if $ntpd_chrootdir != "", ensure that the following files, devices,
and links exist:
        ${ntpd_chrootdir}/dev/clockctl
        /var/db/ntp.drift -> ${ntpd_chrootdir}/var/db/ntp.drift
and then start ntpd with the appropriate options to run chroot(2)ed
under $ntpd_chrootdir as user ntpd group ntpd.

to take advantage of this, set ntpd_chrootdir in /etc/rc.conf.

[this is based on similar work i did for rc.d/named]


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 basesrc/etc/rc.d/ntpd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.