add preliminary android support
This commit is contained in:
parent
299078645f
commit
800356790d
2 changed files with 8 additions and 0 deletions
|
@ -37,6 +37,10 @@ if [ "$subtype" = "proxmox" ]; then
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
if [ "$subtype" = "android" ]; then
|
||||
machine="$(getprop ro.product.manufacturer) $(getprop ro.product.model)"
|
||||
fi
|
||||
|
||||
if [ "$system_type" = "openbsd" ]; then
|
||||
if [ "$hasawk" -eq 1 ]; then
|
||||
distro="revision $(sysctl kern.osrevision | awk -F "=" '{print $2}')"
|
||||
|
|
|
@ -12,6 +12,10 @@ if [ "$(uname -s)" = "Linux" ] && [ "$system_type" = "unknown" ]; then
|
|||
if [ "$?" -eq 0 ] && [ "$subtype" = "none" ]; then
|
||||
subtype="proxmox"
|
||||
fi
|
||||
command -v getprop >>/dev/null
|
||||
if [ "$?" -eq 0 ] && [ "$subtype" = "none" ]; then
|
||||
subtype="android"
|
||||
fi
|
||||
fi
|
||||
if [ "$(uname -s)" = "OpenBSD" ] && [ "$system_type" = "unknown" ]; then
|
||||
system_type="openbsd"
|
||||
|
|
Loading…
Reference in a new issue