Add variable for current architecture
This commit is contained in:
parent
a3b8548fb1
commit
576696c5d5
|
@ -13,6 +13,7 @@ IS_X86=0
|
|||
IS_32_BIT=0
|
||||
IS_64_BIT=0
|
||||
DEVICE_TYPE="unknown"
|
||||
DEVICE_ARCH=$(uname -m) # Examples: armv7l aarch64 x86_64
|
||||
MODEL=$(tr -d '\0' < /proc/device-tree/model) || MODEL="unknown"
|
||||
DEBIAN_VERSION=$(lsb_release -c -s) || DEBIAN_VERSION="unknown"
|
||||
uname -a | grep amd64 && IS_X86=1 && IS_64_BIT=1 || true
|
||||
|
|
Loading…
Reference in New Issue
Block a user