mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
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:
parent
f4f0417646
commit
7c179b02fc
7
inxi
7
inxi
|
@ -5361,10 +5361,13 @@ get_device_data()
|
||||||
device='unknown'
|
device='unknown'
|
||||||
;;
|
;;
|
||||||
# note: 13 is all-in-one which we take as a mac type system
|
# 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|6|7|13|15|24)
|
||||||
3|4|5|6|7|13|15|24)
|
|
||||||
device='desktop'
|
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
|
# note: lenovo T420 shows as 10, notebook, but it's not a notebook
|
||||||
9|10|16)
|
9|10|16)
|
||||||
device='laptop'
|
device='laptop'
|
||||||
|
|
Loading…
Reference in a new issue