diff options
author | jlh <jlh@FreeBSD.org> | 2015-09-22 11:38:58 +0000 |
---|---|---|
committer | jlh <jlh@FreeBSD.org> | 2015-09-22 11:38:58 +0000 |
commit | 2b06f06f2d6b9b6b4a1eb0d93cddf43277fcd295 (patch) | |
tree | 04523f8739c6425bb14fbbb1eb4ab520d3440b7e | |
parent | 7536e15d902b47d692ff1f6fecc625732d2f7000 (diff) | |
download | FreeBSD-src-2b06f06f2d6b9b6b4a1eb0d93cddf43277fcd295.zip FreeBSD-src-2b06f06f2d6b9b6b4a1eb0d93cddf43277fcd295.tar.gz |
Long overdue MFC r285444:
Allow again periodic scripts to be run from command-line.
PR: 188109
Submitted by: Jason Unovitch
-rw-r--r-- | etc/defaults/periodic.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/defaults/periodic.conf b/etc/defaults/periodic.conf index 3cde9b5..14f1a08 100644 --- a/etc/defaults/periodic.conf +++ b/etc/defaults/periodic.conf @@ -365,8 +365,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 ;; |