one more fix, changed 5 type to pizza-box for /sys id, because we already

have one case where a laptop reports as pizza box, and desktops generally do too,
and they could be a server, or used as a server due to 1U form factor.
This commit is contained in:
Harald Hope 2016-10-20 19:11:51 -07:00
parent f4f0417646
commit 7c179b02fc

7
inxi
View file

@ -5361,10 +5361,13 @@ get_device_data()
device='unknown'
;;
# note: 13 is all-in-one which we take as a mac type system
# 5 - pizza box was a 1 U desktop enclosure, but some old laptops also id this way
3|4|5|6|7|13|15|24)
3|4|6|7|13|15|24)
device='desktop'
;;
# 5 - pizza box was a 1 U desktop enclosure, but some old laptops also id this way
5)
device='pizza-box'
;;
# note: lenovo T420 shows as 10, notebook, but it's not a notebook
9|10|16)
device='laptop'