projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5c40e
)
ubus: expose firmware_url in system call
master
author
Paul Spooren
<mail@aparcar.org>
Thu, 30 Jan 2025 17:07:15 +0000
(18:07 +0100)
committer
Christian Marangi
<ansuelsmth@gmail.com>
Thu, 30 Jan 2025 17:07:15 +0000
(18:07 +0100)
Expose upstream firmware URL in ubus call.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
system.c
patch
|
blob
|
history
diff --git
a/system.c
b/system.c
index 9c8d3dcbf03f51b56c090edb3b5e8069b181d450..7a4c24d84362f459f4fb4e931a4b88d60a28ba92 100644
(file)
--- a/
system.c
+++ b/
system.c
@@
-281,6
+281,8
@@
static int system_board(struct ubus_context *ctx, struct ubus_object *obj,
key = "description";
else if (!strcasecmp(key, "OPENWRT_BUILD_DATE"))
key = "builddate";
+ else if (!strcasecmp(key, "FIRMWARE_URL"))
+ key = "firmware_url";
else
continue;