summaryrefslogtreecommitdiffstats
path: root/debian/smartd-runner
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/smartd-runner10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/smartd-runner b/debian/smartd-runner
new file mode 100644
index 0000000..218da39
--- /dev/null
+++ b/debian/smartd-runner
@@ -0,0 +1,10 @@
+#!/bin/bash -e
+
+tmp=$(mktemp)
+cat >$tmp
+
+run-parts --report --lsbsysinit --arg=$tmp --arg="$1" \
+ --arg="$2" --arg="$3" -- /etc/smartmontools/run.d
+
+rm -f $tmp
+