Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ncp-config.d/nc-hdd-test.sh')
-rw-r--r--etc/ncp-config.d/nc-hdd-test.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/etc/ncp-config.d/nc-hdd-test.sh b/etc/ncp-config.d/nc-hdd-test.sh
index 1384fcae..8490b40f 100644
--- a/etc/ncp-config.d/nc-hdd-test.sh
+++ b/etc/ncp-config.d/nc-hdd-test.sh
@@ -42,14 +42,8 @@ configure()
smartctl -X "/dev/$dr" &>/dev/null
smartctl -t long "/dev/$dr" | sed 1,2d
else
- echo "* Test results for $dr"
- smartctl -l selftest "/dev/$dr" | sed 1,2d
-
- echo "* Health Check for $dr"
- smartctl -H "/dev/$dr" | sed 1,2d
-
echo "* Stats for $dr"
- smartctl -A "/dev/$dr" | sed 1,2d
+ smartctl -a "/dev/$dr" | sed 1,2d
fi
done
}