diff options
| author | Paul Spooren | 2025-01-30 17:07:15 +0000 |
|---|---|---|
| committer | Christian Marangi | 2025-01-30 17:07:15 +0000 |
| commit | 7fcb5a275fcff5ab697357c86ce568c71128b982 (patch) | |
| tree | b2811a0cb07eb1a90f6d1e3f993a16ba48ae3293 | |
| parent | 1e5c40e07928ab6de57ee1811945944ccb4f1907 (diff) | |
| download | procd-7fcb5a275fcff5ab697357c86ce568c71128b982.tar.gz | |
ubus: expose firmware_url in system call
Expose upstream firmware URL in ubus call.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
| -rw-r--r-- | system.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |