svn commit: r337626 - in head: etc etc/cron.d usr.bin/at
Brad Davis
brd at FreeBSD.org
Sat Aug 11 13:52:24 UTC 2018
Author: brd
Date: Sat Aug 11 13:52:23 2018
New Revision: 337626
URL: https://svnweb.freebsd.org/changeset/base/337626
Log:
Move cron.d/at to usr.bin/at/
This helps with pkgbase as it tags this as a config file so it is handled as
such
Approved by: allanjude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16673
Added:
head/usr.bin/at/atrun
- copied unchanged from r337625, head/etc/cron.d/at
Deleted:
head/etc/cron.d/
Modified:
head/etc/Makefile
head/usr.bin/at/Makefile
Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile Sat Aug 11 13:47:28 2018 (r337625)
+++ head/etc/Makefile Sat Aug 11 13:52:23 2018 (r337626)
@@ -174,7 +174,6 @@ distribution:
.if ${MK_BLUETOOTH} != "no"
${_+_}cd ${.CURDIR}/bluetooth; ${MAKE} install
.endif
- ${_+_}cd ${.CURDIR}/cron.d; ${MAKE} install
${_+_}cd ${.CURDIR}/defaults; ${MAKE} install
${_+_}cd ${.CURDIR}/devd; ${MAKE} install
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
Modified: head/usr.bin/at/Makefile
==============================================================================
--- head/usr.bin/at/Makefile Sat Aug 11 13:47:28 2018 (r337625)
+++ head/usr.bin/at/Makefile Sat Aug 11 13:52:23 2018 (r337626)
@@ -2,6 +2,9 @@
.include "${.CURDIR}/Makefile.inc"
+CONFS= atrun
+CONFSDIR= /etc/cron.d
+CONFSNAME= at
PROG= at
SRCS= at.c panic.c parsetime.c perm.c
LINKS= ${BINDIR}/at ${BINDIR}/atq \
Copied: head/usr.bin/at/atrun (from r337625, head/etc/cron.d/at)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/usr.bin/at/atrun Sat Aug 11 13:52:23 2018 (r337626, copy of r337625, head/etc/cron.d/at)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+#
+SHELL=/bin/sh
+PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
+
+# See crontab(5) for field format.
+*/5 * * * * root /usr/libexec/atrun
More information about the svn-src-head
mailing list