summaryrefslogtreecommitdiffstats
path: root/debian/smartd-runner
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:14:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:14:48 +0000
commit9021c15fadb3638b6d118fdba8cf19cc4ca9e063 (patch)
tree3971b5280a3877d4d1c9d1b729f860c6c4752d54 /debian/smartd-runner
parentAdding upstream version 7.4. (diff)
downloadsmartmontools-9021c15fadb3638b6d118fdba8cf19cc4ca9e063.tar.xz
smartmontools-9021c15fadb3638b6d118fdba8cf19cc4ca9e063.zip
Adding debian version 7.4-2.debian/7.4-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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
+