summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/byteback-backup9
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
##