From: Paul Spooren Date: Thu, 30 Jan 2025 17:07:15 +0000 (+0100) Subject: ubus: expose firmware_url in system call X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7fcb5a275fcff5ab697357c86ce568c71128b982;p=project%2Fprocd.git ubus: expose firmware_url in system call Expose upstream firmware URL in ubus call. Signed-off-by: Paul Spooren Signed-off-by: Christian Marangi --- diff --git a/system.c b/system.c index 9c8d3dc..7a4c24d 100644 --- 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;