mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-11-03 21:23:18 +01:00
Check if storcli is executable in /opt/MegaRAID/storcli/
This commit is contained in:
1 parent
56c5988472
commit
8bc89496b3
1 file changed
+10
@@ -1259,6 +1259,16 @@ MAIN: {
|
||||
if(!defined($storcli)){
|
||||
$storcli = which('storcli64');
|
||||
}
|
||||
if(!defined($storcli)){
|
||||
if(-x '/opt/MegaRAID/storcli/storcli64'){
|
||||
$storcli = '/opt/MegaRAID/storcli/storcli64';
|
||||
}
|
||||
}
|
||||
if(!defined($storcli)){
|
||||
if(-x '/opt/MegaRAID/storcli/storcli'){
|
||||
$storcli = '/opt/MegaRAID/storcli/storcli';
|
||||
}
|
||||
}
|
||||
}
|
||||
else{
|
||||
$storcli = which('storcli.exe');
|
||||
|
||||
Reference in new issue
Block a user