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

View file

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