svn commit: r530275 - in head/sysutils/checkrestart: . files

Fernando Apesteguía fernape at freebsd.org
Thu Apr 2 16:56:10 UTC 2020


On Thu, Apr 2, 2020 at 2:00 PM Mateusz Piotrowski <0mp at freebsd.org> wrote:
>
> Hi,
>
> On 4/2/20 1:51 PM, Fernando Apesteguía wrote:
> > Author: fernape
> > Date: Thu Apr  2 11:51:24 2020
> > New Revision: 530275
> > URL: https://svnweb.freebsd.org/changeset/ports/530275
> >
> > Log:
> >    sysutils/checkrestart: Update to 0.5.0
> ...
> > Added: head/sysutils/checkrestart/files/checkrestart.in
> > ==============================================================================
> > --- /dev/null 00:00:00 1970   (empty, because file is newly added)
> > +++ head/sysutils/checkrestart/files/checkrestart.in  Thu Apr  2 11:51:24 2020        (r530275)
> > @@ -0,0 +1,70 @@
> > +#!/bin/sh
> > +# $FreeBSD$
> > +
> > +if [ -r /etc/defaults/periodic.conf ]; then
> > +    . /etc/defaults/periodic.conf
> > +    source_periodic_confs
> > +fi
> > +
> > +: "${daily_checkrestart_enable:=NO}"
> > +: "${daily_checkrestart_weekdays:=1234567}" # Days of the week to run, Monday=1
> > +: "${daily_checkrestart_users:=}"           # User names or IDs to check
> > +: "${daily_checkrestart_jails:=}"           # Jail names or IDs to check
> > +: "${daily_checkrestart_procs:=}"           # Process names or IDs to check
> > +
> > +checkrestartcmd=/usr/local/bin/checkrestart
>
> This should probably utilize %%PREFIX%%.
>
> > +
> > +case "${daily_checkrestart_enable}" in
> > +    [Yy][Ee][Ss])
> Please use checkyesno from rc.subr(8) instead.

Hi Mateusz,

Thanks for the point. Would you have a look at
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245283? The
maintainer doesn't see appropriate this last suggestion. Feel free to
jump in.

Cheers.

>
>
> Cheers,
>
> Mateusz Piotrowski
>


More information about the svn-ports-all mailing list