aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/mount-media2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/mount-media b/files/mount-media
index b643a31..0073292 100644
--- a/files/mount-media
+++ b/files/mount-media
@@ -29,6 +29,8 @@ if [ "`whoami`" != 'root' ]; then
fi
if [ "$BASENAME" == "mount-media" ]; then
+ echo "Checking drive health status..."
+ $sudo smartctl -H /dev/$DISK
echo "Disabling STANDBY on drive..."
$sudo sdparm --clear STANDBY -6 /dev/$DISK
echo "Initializing crypto layer..."