mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2025-07-14 03:41:50 +02:00
Check if storcli is executable in /opt/MegaRAID/storcli/
This commit is contained in:
@ -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