Created
July 13, 2017 08:46
-
-
Save lcx/b1636d1d9513737c925c8114d5a20649 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def initialize(device_id) | |
@device_path = "-d megaraid,#{device_id} /dev/sda" | |
@smart_available = false | |
@smart_enabled = false | |
@smart_healty = nil | |
check_smart_capability! | |
check_health! if smart_capable? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment