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:
authornachoparker <nacho@ownyourbits.com>2018-11-11 23:15:01 +0300
committernachoparker <nacho@ownyourbits.com>2018-11-11 23:15:07 +0300
commitd4206f75a01ffa0b0a95690135ad023e5eb33cb2 (patch)
tree8b2f98dd73e96a11ac043dd8ea085bd8c4a9c667
parent1b251419bc6207edbb0d0b6e8da51e911747e2c0 (diff)
nc-hdd-test: remove redundancyv0.66.3
-rw-r--r--changelog.md4
-rw-r--r--etc/ncp-config.d/nc-hdd-test.sh8
2 files changed, 4 insertions, 8 deletions
diff --git a/changelog.md b/changelog.md
index 50073bf9..6751c401 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,7 @@
-[v0.66.2](https://github.com/nextcloud/nextcloudpi/commit/74ce141) (2018-11-06) dont fail removing cronfile
+[v0.66.3](https://github.com/nextcloud/nextcloudpi/commit/a0c4361) (2018-11-11) nc-hdd-test: remove redundancy
+
+[v0.66.2](https://github.com/nextcloud/nextcloudpi/commit/1b25141) (2018-11-06) dont fail removing cronfile
[v0.66.1 ](https://github.com/nextcloud/nextcloudpi/commit/089bebb) (2018-11-04) nc-info: speedup
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
}