summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorjlh <jlh@FreeBSD.org>2015-07-13 10:15:01 +0000
committerjlh <jlh@FreeBSD.org>2015-07-13 10:15:01 +0000
commite5b0d6783a576b6cfb176dd899e1f4f962a54c2d (patch)
tree371927e3a063f849de5dba77870eb8b601840679 /etc/defaults
parentba90467d76841ff39e14474f932510d2f7440e1e (diff)
downloadFreeBSD-src-e5b0d6783a576b6cfb176dd899e1f4f962a54c2d.zip
FreeBSD-src-e5b0d6783a576b6cfb176dd899e1f4f962a54c2d.tar.gz
Allow again periodic scripts to be run from command-line.
PR: 188109 Submitted by: Jason Unovitch MFC after: 1 week
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/periodic.conf6
1 files changed, 5 insertions, 1 deletions
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
;;
OpenPOWER on IntegriCloud