From 94944ab099a071a82eb830a6ded4426319dc2c78 Mon Sep 17 00:00:00 2001 From: Chris Blake Date: Thu, 13 Sep 2018 20:37:45 -0500 Subject: [PATCH] procd: Add cpu string to board detection This patch is in relation to https://github.com/openwrt/openwrt/pull/1307 to help fix architecture detection in LuCI which was added in https://github.com/openwrt/luci/commit/b8f32b6da7accc672c5887e894a861de3f806cf5 Signed-off-by: Chris Blake --- system.c | 1 + 1 file changed, 1 insertion(+) diff --git a/system.c b/system.c index 151f613..46c420b 100644 --- a/system.c +++ b/system.c @@ -65,6 +65,7 @@ static int system_board(struct ubus_context *ctx, struct ubus_object *obj, if (!strcasecmp(key, "system type") || !strcasecmp(key, "processor") || + !strcasecmp(key, "cpu") || !strcasecmp(key, "model name")) { strtoul(val + 2, &key, 0); -- 2.25.1