diff options
| author | Chris Blake | 2018-09-14 01:37:45 +0000 |
|---|---|---|
| committer | John Crispin | 2018-10-11 06:10:23 +0000 |
| commit | 94944ab099a071a82eb830a6ded4426319dc2c78 (patch) | |
| tree | a8ccebd29e480c1d2cc1be60e24b24a2ba7285a6 | |
| parent | e29966f04cdf549a01f721f93634672055da8af4 (diff) | |
| download | procd-94944ab099a071a82eb830a6ded4426319dc2c78.tar.gz | |
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 <chrisrblake93@gmail.com>
| -rw-r--r-- | system.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |