X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=smart-megaraid.sh;h=1e976f4f86a4e1328bb788ec3835fb3258a6bfe1;hb=985e9c8ea3e02f40bffeca33275e0db76d1f3ea4;hp=cfae4b5275ed497441c15a82a231cc7e1c31dcd7;hpb=d9d5395ec68ff4fa4ca4030bc0a7907c6b286094;p=gnt-info diff --git a/smart-megaraid.sh b/smart-megaraid.sh index cfae4b5..1e976f4 100755 --- a/smart-megaraid.sh +++ b/smart-megaraid.sh @@ -4,7 +4,7 @@ # smart-megaraid.sh '^# 1' # default without args # SMART="-t long" smart-megaraid.sh # execute smart command -pattern='(^# [1-2]|test remaining|Hours|Error|Serial|Model|Firmware)' +pattern='(^# [1-2]|test remaining|Hours|Error|Serial|Model|Firmware|Load)' test ! -z "$1" && pattern=$* did_megaraid=0