Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/log_ssd_health
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

timeout --foreground 30 smartctl -a /dev/sda > /tmp/smartctl
timeout --foreground 30 smartctl -xa /dev/sda > /tmp/smartctl
if [ -f /tmp/smartctl ];then
logger -f /tmp/smartctl
fi
Expand Down
Loading