Fix typo in illumos
processor detection.
This commit is contained in:
parent
7a063fa170
commit
c09d7c8298
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if [ "$subtype" = "android" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$hasawk" -eq 1 ] && [ "$system_type" = "illumos" ] && [ -z "$processor" ]; then
|
if [ "$hasawk" -eq 1 ] && [ "$system_type" = "illumos" ] && [ -z "$processor" ]; then
|
||||||
if [ -n "$(kstat | grep brand") ]; then
|
if [ -n "$(kstat | grep brand)" ]; then
|
||||||
processor="$(kstat | grep brand | head -n 1 | tr -s " " | awk -F "brand " '{print $2}')"
|
processor="$(kstat | grep brand | head -n 1 | tr -s " " | awk -F "brand " '{print $2}')"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue