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

4 lines
80 B
Bash

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