diff options
author | jlh <jlh@FreeBSD.org> | 2015-07-13 10:15:01 +0000 |
---|---|---|
committer | jlh <jlh@FreeBSD.org> | 2015-07-13 10:15:01 +0000 |
commit | e5b0d6783a576b6cfb176dd899e1f4f962a54c2d (patch) | |
tree | 371927e3a063f849de5dba77870eb8b601840679 /etc | |
parent | ba90467d76841ff39e14474f932510d2f7440e1e (diff) | |
download | FreeBSD-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')
-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 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 ;; |