mirror of https://github.com/eLvErDe/hwraid.git
Very minor bugfixes (Rev 1.26)
This commit is contained in:
parent
adbb15607b
commit
b7f27e652f
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
# $Id: megaclisas-status,v 1.25 2015/03/28 02:25:53 root Exp $
|
||||
# $Id: megaclisas-status,v 1.26 2015/03/28 02:26:41 root Exp $
|
||||
|
||||
import os
|
||||
import re
|
||||
|
@ -9,6 +9,10 @@ import pdb
|
|||
#megaclipath = "/opt/MegaRAID/MegaCli/MegaCli64"
|
||||
|
||||
# Sane defaults
|
||||
printarray = True
|
||||
printcontroller = True
|
||||
totaldrivenumber = 0
|
||||
totalunconfdrivenumber = 0
|
||||
tabwdth = 4
|
||||
|
||||
def is_exe(fpath):
|
||||
|
@ -62,11 +66,6 @@ else:
|
|||
sys.exit(3)
|
||||
|
||||
|
||||
printarray = True
|
||||
printcontroller = True
|
||||
totaldrivenumber = 0
|
||||
totalunconfdrivenumber = 0
|
||||
|
||||
#### pdb.set_trace()
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
|
|
Loading…
Reference in New Issue