Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2015 11:38:59 +0000 (UTC)
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r288107 - stable/10/etc/defaults
Message-ID:  <201509221138.t8MBcxGK002801@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jlh
Date: Tue Sep 22 11:38:58 2015
New Revision: 288107
URL: https://svnweb.freebsd.org/changeset/base/288107

Log:
  Long overdue MFC r285444:
    Allow again periodic scripts to be run from command-line.
  
    PR:           188109
    Submitted by: Jason Unovitch

Modified:
  stable/10/etc/defaults/periodic.conf
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/defaults/periodic.conf
==============================================================================
--- stable/10/etc/defaults/periodic.conf	Tue Sep 22 11:25:37 2015	(r288106)
+++ stable/10/etc/defaults/periodic.conf	Tue Sep 22 11:38:58 2015	(r288107)
@@ -365,8 +365,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" \
 			    "\$PERIODIC: '$PERIODIC'" >&2
 			exit 127
 			;;



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