From d4206f75a01ffa0b0a95690135ad023e5eb33cb2 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sun, 11 Nov 2018 13:15:01 -0700 Subject: [PATCH] nc-hdd-test: remove redundancy --- changelog.md | 4 +++- etc/ncp-config.d/nc-hdd-test.sh | 8 +------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/changelog.md b/changelog.md index 50073bf9b..6751c401b 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 1384fcae2..8490b40ff 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 }