svn commit: r285444 - head/etc/defaults

Jeremie Le Hen jlh at FreeBSD.org
Mon Jul 13 10:15:02 UTC 2015


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" \
 			    "\$PERIODIC: '$PERIODIC'" >&2
 			exit 127
 			;;


More information about the svn-src-all mailing list