Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 12:56:16 +0200
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        Garrett Cooper <yaneurabeya@gmail.com>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r285444 - head/etc/defaults
Message-ID:  <CAGSa5y3WDFn9ZBU2=LLi27R6Cg9izqi8GLcMiEW%2B265mQaEKtA@mail.gmail.com>
In-Reply-To: <528265C1-8B55-41D0-BF89-3A8AEF810D7F@gmail.com>
References:  <201507131015.t6DAF2rV025100@repo.freebsd.org> <528265C1-8B55-41D0-BF89-3A8AEF810D7F@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 13, 2015 at 12:43 PM, Garrett Cooper <yaneurabeya@gmail.com> wrote:
>
>> On Jul 13, 2015, at 03:15, Jeremie Le Hen <jlh@FreeBSD.org> wrote:
>>
>> Author: jlh
>> Date: Mon Jul 13 10:15:01 2015
>> New Revision: 285444
>> URL: https://svnweb.freebsd.org/changeset/base/285444
>>
>> Log:
>>  Allow again periodic scripts to be run from command-line.
>>
>>  PR:        188109
>>  Submitted by:    Jason Unovitch
>>  MFC after:    1 week
>>
>> Modified:
>>  head/etc/defaults/periodic.conf
>>
>> Modified: head/etc/defaults/periodic.conf
>> ==============================================================================
>> --- head/etc/defaults/periodic.conf    Mon Jul 13 09:12:05 2015    (r285443)
>> +++ head/etc/defaults/periodic.conf    Mon Jul 13 10:15:01 2015    (r285444)
>> @@ -357,8 +357,12 @@ if [ -z "${source_periodic_confs_defined
>>            *) return 0 ;;
>>            esac
>>            ;;
>> +                '')
>> +                        # Script run manually.
>> +                        return 0
>> +                        ;;
>>        *)
>> -            echo "ASSERTION FAILED: Unexpected value for " \
>> +            echo "ASSERTION FAILED: Unexpected value for" \

Actually I removed it because while trying to run one periodic script
manually, I realized there was one additional space:


# /etc/periodic/security/410.logincheck
ASSERTION FAILED: Unexpected value for  $PERIODIC: ''

-- 
Jeremie Le Hen
jlh@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGSa5y3WDFn9ZBU2=LLi27R6Cg9izqi8GLcMiEW%2B265mQaEKtA>