mirror_smartmontools-debian/examplescripts/Example5
2014-10-05 09:03:54 +02:00

11 lines
166 B
Bash
Executable File

#!/bin/bash -e
tmp=$(tempfile)
cat >$tmp
run-parts --report --lsbsysinit --arg=$tmp --arg="$1" \
--arg="$2" --arg="$3" -- /etc/smartmontools/run.d
rm -f $tmp