Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2010 15:53:02 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r205335 - head/etc
Message-ID:  <201003191553.o2JFr25U095247@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Fri Mar 19 15:53:02 2010
New Revision: 205335
URL: http://svn.freebsd.org/changeset/base/205335

Log:
  Slightly improve my previous commit.
  
  Just comment out the atrun line instead of completely removing it. It is
  not a bad idea to leave it as a reference in case someone decides to
  install atrun by hand afterwards.

Modified:
  head/etc/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Fri Mar 19 14:48:32 2010	(r205334)
+++ head/etc/Makefile	Fri Mar 19 15:53:02 2010	(r205335)
@@ -162,7 +162,7 @@ distribution:
 	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
 		master.passwd nsmb.conf opieaccess ${DESTDIR}/etc;
 .if ${MK_AT} == "no"
-	sed -i "" -e '/atrun/d' ${DESTDIR}/etc/crontab
+	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003191553.o2JFr25U095247>