mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
branch one, I think now zfs raid will work
This commit is contained in:
parent
01006c359a
commit
a5cc3d4706
4
inxi
4
inxi
|
@ -3,7 +3,7 @@
|
|||
#### Script Name: inxi
|
||||
#### Version: 2.1.11
|
||||
#### Date: 2014-03-26
|
||||
#### Patch Number: 09-b1
|
||||
#### Patch Number: 10-b1
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
########################################################################
|
||||
|
@ -7732,12 +7732,12 @@ get_raid_component_data_bsd()
|
|||
}
|
||||
$1 ~ /^'$device'$/ {
|
||||
while ( getline && !/^$/ ) {
|
||||
sub( /ONLINE/, "", $2 )
|
||||
# raid level is the second item in the output
|
||||
if ( $1 != "" && raidLevel == "" ) {
|
||||
raidLevel="zfs " $1
|
||||
getline
|
||||
}
|
||||
sub( /ONLINE/, "", $2 )
|
||||
components=components separator $1 separator $2
|
||||
separator=" "
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue