File: smartd-runner

package info (click to toggle)
smartmontools 7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,764 kB
  • sloc: cpp: 47,218; ansic: 9,922; sh: 5,826; makefile: 939
file content (10 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
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