From e5b0d6783a576b6cfb176dd899e1f4f962a54c2d Mon Sep 17 00:00:00 2001 From: jlh Date: Mon, 13 Jul 2015 10:15:01 +0000 Subject: Allow again periodic scripts to be run from command-line. PR: 188109 Submitted by: Jason Unovitch MFC after: 1 week --- etc/defaults/periodic.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc/defaults') diff --git a/etc/defaults/periodic.conf b/etc/defaults/periodic.conf index c70bee2..fbc5d0a 100644 --- a/etc/defaults/periodic.conf +++ b/etc/defaults/periodic.conf @@ -357,8 +357,12 @@ if [ -z "${source_periodic_confs_defined}" ]; then *) 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 ;; -- cgit v1.1