about summary refs log tree commit diff
path: root/services/smartd/finish
diff options
context:
space:
mode:
Diffstat (limited to 'services/smartd/finish')
-rwxr-xr-xservices/smartd/finish3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/smartd/finish b/services/smartd/finish
new file mode 100755
index 0000000..85e568f
--- /dev/null
+++ b/services/smartd/finish
@@ -0,0 +1,3 @@
+#!/bin/sh 
+# no devices found, disable smartd
+[ $1 = 17 ] && sv d $(dirname $0)