From 8c549f2d33e30e683d50e975398d08d68fe37e5b Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 5 Oct 2015 10:28:53 +0000
Subject: [PATCH] base-files: add URL option for OEM manufacturer info

This URL can be embedded e.g. within UPnP announcements where a link
to the manufacturer's homepage is desired.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 47135
---
 base-files/files/etc/device_info | 1 +
 base-files/image-config.in       | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/base-files/files/etc/device_info b/base-files/files/etc/device_info
index 2962cd7fd5f..4045e9e027d 100644
--- a/base-files/files/etc/device_info
+++ b/base-files/files/etc/device_info
@@ -1,3 +1,4 @@
 DEVICE_MANUFACTURER='%M'
+DEVICE_MANUFACTURER_URL='%m'
 DEVICE_PRODUCT='%P'
 DEVICE_REVISION='%h'
diff --git a/base-files/image-config.in b/base-files/image-config.in
index fd0ead62365..c1c0924f204 100644
--- a/base-files/image-config.in
+++ b/base-files/image-config.in
@@ -197,6 +197,13 @@ if VERSIONOPT
 			This is the manufacturer name embedded in /etc/device_info
 			Useful for OEMs building OpenWrt based firmware
 
+	config VERSION_MANUFACTURER_URL
+		string
+		prompt "Manufacturer URL"
+		help
+			This is an URL to the manufacturer's website embedded in /etc/device_info
+			Useful for OEMs building OpenWrt based firmware
+
 	config VERSION_PRODUCT
 		string
 		prompt "Product name"
-- 
GitLab