Allow 999.local to run scripts in any language
authorasomers <asomers@FreeBSD.org>
Wed, 1 Feb 2017 23:22:54 +0000 (23:22 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 1 Feb 2017 23:22:54 +0000 (23:22 +0000)
commitae78cc536ea218a0722300f85602ac6b976801f8
treed05a0ccea1d00a2b7804bbb9d367a05802b92d18
parent589b22f72257dc25451cc504380a775103a3756e
Allow 999.local to run scripts in any language

If one of the scripts listed in (daily|weekly|monthly)_local is executable,
999.local should simply execute it. Only if the script isn't executable
should 999.local assume it needs /bin/sh.

Reviewed by: brian
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
etc/periodic/daily/999.local
etc/periodic/monthly/999.local
etc/periodic/weekly/999.local