diff --git a/include/osdetection b/include/osdetection index 7a2e4bf1..ac9a9c86 100644 --- a/include/osdetection +++ b/include/osdetection @@ -407,6 +407,12 @@ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_NAME="openSUSE" ;; + "openwrt") + LINUX_VERSION='OpenWrt' + HARDWARE=$(grep '^OPENWRT_BOARD=' /etc/os-release | awk -F= '{print $2}' | tr -d '"') + OS_NAME=$(grep '^NAME=' /etc/os-release | awk -F= '{print $2}' | tr -d '"') + OS_VERSION=$(grep '^VERSION=' /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "osmc") LINUX_VERSION="OSMC" LINUX_VERSION_LIKE="Debian"