svn commit: r205586 - stable/8/etc

Ed Schouten ed at FreeBSD.org
Wed Mar 24 12:15:00 UTC 2010


Author: ed
Date: Wed Mar 24 12:14:59 2010
New Revision: 205586
URL: http://svn.freebsd.org/changeset/base/205586

Log:
  MFC r205329 and r205335:
  
    Don't add the atrun-line to the crontab when MK_AT is set.
  
    This prevents spurious calls to sendmail every 5 minutes.

Modified:
  stable/8/etc/Makefile
Directory Properties:
  stable/8/etc/   (props changed)

Modified: stable/8/etc/Makefile
==============================================================================
--- stable/8/etc/Makefile	Wed Mar 24 12:11:59 2010	(r205585)
+++ stable/8/etc/Makefile	Wed Mar 24 12:14:59 2010	(r205586)
@@ -157,6 +157,9 @@ distribution:
 		${BIN2} ${DESTDIR}/etc; \
 	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
 		master.passwd nsmb.conf opieaccess ${DESTDIR}/etc;
+.if ${MK_AT} == "no"
+	sed -i "" -e 's;.*/usr/libexec/atrun;#&;' ${DESTDIR}/etc/crontab
+.endif
 .if ${MK_TCSH} == "no"
 	sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
 .endif


More information about the svn-src-stable-8 mailing list