From 548d32124089f779e9991cc2f2d8ec414e84ec72 Mon Sep 17 00:00:00 2001 From: "Vincent S. Cojot" Date: Tue, 27 Feb 2018 18:59:37 -0500 Subject: [PATCH] Initial support for perccli64 too... --- wrapper-scripts/megaclisas-status | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrapper-scripts/megaclisas-status b/wrapper-scripts/megaclisas-status index 1d5e5dd..325a6ca 100755 --- a/wrapper-scripts/megaclisas-status +++ b/wrapper-scripts/megaclisas-status @@ -86,6 +86,7 @@ def which(program): # Add some defaults os.environ["PATH"] += os.pathsep + '/opt/MegaRAID/MegaCli' os.environ["PATH"] += os.pathsep + '/ms/dist/hwmgmt/bin' + os.environ["PATH"] += os.pathsep + '/opt/MegaRAID/perccli' os.environ["PATH"] += os.pathsep + '/opt/MegaRAID/storcli' os.environ["PATH"] += os.pathsep + '/opt/lsi/storcli' os.environ["PATH"] += os.pathsep + os.path.dirname(os.path.realpath(sys.argv[0])) @@ -99,7 +100,7 @@ def which(program): return None # Find MegaCli -for megabin in "MegaCli64","MegaCli","megacli", "MegaCli.exe", "storcli64", "storcli": +for megabin in "MegaCli64","MegaCli","megacli", "MegaCli.exe", "perccli64", "perccli", "storcli64", "storcli": dbgprint ('Looking for '+str(megabin)+' in PATH next..') megaclipath = which(megabin) if (megaclipath != None):