diff options
Diffstat (limited to '')
-rwxr-xr-x | examplescripts/Example5 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examplescripts/Example5 b/examplescripts/Example5 new file mode 100755 index 0000000..a85961c --- /dev/null +++ b/examplescripts/Example5 @@ -0,0 +1,10 @@ +#!/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 + |