Model [AIX]: Reduce dependency on prtconf

This commit is contained in:
Muhammad Herdiansyah 2017-06-22 01:16:24 +07:00 committed by Herdiansyah
parent a032067e54
commit 789ff58583
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ get_model() {
;;
"AIX")
model="$(prtconf | awk -F':' '/System Model/ {printf $2}')"
model="$(/usr/bin/uname -M)"
;;
esac