svn commit: r288107 - stable/10/etc/defaults

Jeremie Le Hen jlh at FreeBSD.org
Tue Sep 22 11:38:59 UTC 2015


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


More information about the svn-src-all mailing list