From 7fcb5a275fcff5ab697357c86ce568c71128b982 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Thu, 30 Jan 2025 18:07:15 +0100 Subject: [PATCH] ubus: expose firmware_url in system call Expose upstream firmware URL in ubus call. Signed-off-by: Paul Spooren Signed-off-by: Christian Marangi --- system.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2