mirror of
https://github.com/aclist/dztui.git
synced 2025-09-07 06:02:27 +02:00
fix: detect APU variants
This commit is contained in:
parent
24a916c11c
commit
4bd7f684c2
11 changed files with 45 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -o pipefail
|
||||
version=5.2.3
|
||||
version=5.3.3
|
||||
|
||||
#CONSTANTS
|
||||
aid=221100
|
||||
|
@ -978,6 +978,7 @@ generate_log(){
|
|||
cat <<-DOC > $system_log
|
||||
Distro: $(< /etc/os-release grep -w NAME | awk -F\" '{print $2}')
|
||||
Kernel: $(uname -mrs)
|
||||
CPU: $(< /proc/cpuinfo awk -F": " '/model name/ {print $2; exit}')
|
||||
Version: $version
|
||||
Branch: $branch
|
||||
Mode: $(if [[ -z $debug ]]; then echo normal; else echo debug; fi)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue