summaryrefslogtreecommitdiffstats
path: root/remote/modules/smartctl/smartctl.build
diff options
context:
space:
mode:
authorSimon Rettberg2013-12-20 00:45:35 +0100
committerSimon Rettberg2013-12-20 00:45:35 +0100
commit48f1e22f55118914fc0f045c12a2b1cdf103dff5 (patch)
tree1da12669d15bf2e44f60a50507c7150419729e58 /remote/modules/smartctl/smartctl.build
parent[pam-freiburg] Try harder to get machine ticket, continue mounting if there's... (diff)
downloadtm-scripts-48f1e22f55118914fc0f045c12a2b1cdf103dff5.tar.gz
tm-scripts-48f1e22f55118914fc0f045c12a2b1cdf103dff5.tar.xz
tm-scripts-48f1e22f55118914fc0f045c12a2b1cdf103dff5.zip
[smartctl] New module: smartctl - Will currently check reallocated sectors and spin retry count - could be extended, but those seem to be the best indicators according to $SEARCH_ENGINE
Diffstat (limited to 'remote/modules/smartctl/smartctl.build')
-rw-r--r--remote/modules/smartctl/smartctl.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/remote/modules/smartctl/smartctl.build b/remote/modules/smartctl/smartctl.build
new file mode 100644
index 00000000..435a7b10
--- /dev/null
+++ b/remote/modules/smartctl/smartctl.build
@@ -0,0 +1,13 @@
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ list_packet_files > "$COPYLIST"
+ tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
+}
+
+post_copy() {
+ :
+}