x86: add led driver for PC Engines APU1
[openwrt/openwrt.git] / target / linux / x86 / base-files / lib / preinit / 01_sysinfo
index 466c831e7e6c0d0a12bcbab8ad6f1cbb6e83abb3..b608d4edab885e538191b891fd40bc2c70a2ff32 100644 (file)
@@ -18,6 +18,10 @@ do_sysinfo_x86() {
        for file in product_name board_name; do
                product="$(cat /sys/devices/virtual/dmi/id/$file 2>/dev/null)"
                case "$vendor:$product" in
+               "PC Engines:APU")
+                       product="apu1"
+                       break
+                       ;;
                "Supermicro:Super Server")
                        continue
                        ;;