ishp = "true" if s =~ /RAID bus controller: (.*) Smart Array/
}
end
- ishp
+ ishp == "true"
end
end
is3w = "true" if x =~ /Vendor: 3ware/
}
end
- is3w
+ is3w == "true"
end
end
swraid = "true" if x =~ /md[0-9]+ : active/
}
end
- swraid
+ swraid == "true"
end
end