summaryrefslogtreecommitdiff
path: root/smartd-runner
blob: 0ff4e70ef631e6941be45d4e03b868815278c657 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

tmp=$(mktemp) || exit 1
cat >$tmp

run-parts --report --lsbsysinit --arg=$tmp --arg="$1" \
    --arg="$2" --arg="$3" -- /etc/smartmontools/run.d

rm -f $tmp