void-packages/srcpkgs/smartmontools/files/smartd/finish

4 lines
80 B
Bash
Executable File

#!/bin/sh
# no devices found, disable smartd
[ $1 = 17 ] && sv d $(dirname $0)