Skip to content

Commit

Permalink
nc-hdd-test: remove redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Nov 11, 2018
1 parent 1b25141 commit d4206f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 1 addition & 7 deletions etc/ncp-config.d/nc-hdd-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d4206f7

Please sign in to comment.