Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rc.d/ntpd
As pid files are necessary for start/stopping rc.d scripts, would the attached
patch make sense for the case of people not putting a pidfile option matching
the one in rc.d/ntpd in their ntp.conf?
Cheers,
Patrick
Index: rc.d/ntpd
===================================================================
RCS file: /cvsroot/src/etc/rc.d/ntpd,v
retrieving revision 1.13
diff -u -r1.13 ntpd
--- rc.d/ntpd 13 Aug 2004 18:08:03 -0000 1.13
+++ rc.d/ntpd 19 Nov 2012 12:30:55 -0000
@@ -19,6 +19,7 @@
ntpd_precmd()
{
+ rc_flags="-p ${pidfile} $rc_flags"
if [ -z "$ntpd_chrootdir" ]; then
return 0;
fi
Home |
Main Index |
Thread Index |
Old Index