diff options
Diffstat (limited to 'bin/byteback-backup')
-rwxr-xr-x | bin/byteback-backup | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/byteback-backup b/bin/byteback-backup index 872469d..84d39e5 100755 --- a/bin/byteback-backup +++ b/bin/byteback-backup @@ -97,7 +97,16 @@ def rsync(*sources) end +# +# Run all the executable-scripts in the specified directory. +# +def run_parts(dir) + if File.directory? dir + args = ['run-parts', dir ] + log_system(*args) + end +end ## |