model: Add support for KVM/QEMU.
This commit is contained in:
parent
c108713b91
commit
738ef06d3f
3 changed files with 6 additions and 2 deletions
|
@ -9,7 +9,7 @@ print_info() {
|
||||||
info underline
|
info underline
|
||||||
|
|
||||||
info "OS" distro
|
info "OS" distro
|
||||||
info "Model" model
|
info "Host" model
|
||||||
info "Kernel" kernel
|
info "Kernel" kernel
|
||||||
info "Uptime" uptime
|
info "Uptime" uptime
|
||||||
info "Packages" packages
|
info "Packages" packages
|
||||||
|
|
|
@ -5,8 +5,8 @@ print_info() {
|
||||||
info title
|
info title
|
||||||
info underline
|
info underline
|
||||||
|
|
||||||
info "Model" model
|
|
||||||
info "OS" distro
|
info "OS" distro
|
||||||
|
info "Host" model
|
||||||
info "Kernel" kernel
|
info "Kernel" kernel
|
||||||
info "Uptime" uptime
|
info "Uptime" uptime
|
||||||
info "Packages" packages
|
info "Packages" packages
|
||||||
|
|
4
neofetch
4
neofetch
|
@ -342,6 +342,10 @@ get_model() {
|
||||||
model="${model//Default string}"
|
model="${model//Default string}"
|
||||||
model="${model//Not Specified}"
|
model="${model//Not Specified}"
|
||||||
model="${model//Type1ProductConfigId}"
|
model="${model//Type1ProductConfigId}"
|
||||||
|
|
||||||
|
case "$model" in
|
||||||
|
"Standard PC"*) model="KVM/QEMU" ;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
get_title() {
|
get_title() {
|
||||||
|
|
Loading…
Reference in a new issue