mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-26 23:34:02 +02:00
Very minor bugfixes (Rev 1.26)
This commit is contained in:
parent
adbb15607b
commit
b7f27e652f
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/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 os
|
||||||
import re
|
import re
|
||||||
@ -9,6 +9,10 @@ import pdb
|
|||||||
#megaclipath = "/opt/MegaRAID/MegaCli/MegaCli64"
|
#megaclipath = "/opt/MegaRAID/MegaCli/MegaCli64"
|
||||||
|
|
||||||
# Sane defaults
|
# Sane defaults
|
||||||
|
printarray = True
|
||||||
|
printcontroller = True
|
||||||
|
totaldrivenumber = 0
|
||||||
|
totalunconfdrivenumber = 0
|
||||||
tabwdth = 4
|
tabwdth = 4
|
||||||
|
|
||||||
def is_exe(fpath):
|
def is_exe(fpath):
|
||||||
@ -62,11 +66,6 @@ else:
|
|||||||
sys.exit(3)
|
sys.exit(3)
|
||||||
|
|
||||||
|
|
||||||
printarray = True
|
|
||||||
printcontroller = True
|
|
||||||
totaldrivenumber = 0
|
|
||||||
totalunconfdrivenumber = 0
|
|
||||||
|
|
||||||
#### pdb.set_trace()
|
#### pdb.set_trace()
|
||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user