File: Example5

package info (click to toggle)
smartmontools 7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,080 kB
  • sloc: cpp: 53,631; ansic: 9,924; sh: 6,493; makefile: 1,017
file content (10 lines) | stat: -rwxr-xr-x 166 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
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