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.
This commit is contained in:
Ed Schouten 2010-03-19 15:53:02 +00:00
parent 9344361b66
commit 799c1824b1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205335

View File

@ -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