Date: Wed, 24 Mar 2010 12:14:59 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r205586 - stable/8/etc Message-ID: <201003241214.o2OCExkK092962@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003241214.o2OCExkK092962>