summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-05 10:28:53 +0000
committerJohn Crispin <john@openwrt.org>2015-10-05 10:28:53 +0000
commitce9da6e6afbb2287fa60bdd1772527a405944808 (patch)
treea904d92cdac088d595bb5ae8088068128fe9caeb /package/base-files
parentaf2429f1043ed2a1f974205ac0676eceb3d17909 (diff)
downloadmtk-20170518-ce9da6e6afbb2287fa60bdd1772527a405944808.zip
mtk-20170518-ce9da6e6afbb2287fa60bdd1772527a405944808.tar.gz
mtk-20170518-ce9da6e6afbb2287fa60bdd1772527a405944808.tar.bz2
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
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/etc/device_info1
-rw-r--r--package/base-files/image-config.in7
2 files changed, 8 insertions, 0 deletions
diff --git a/package/base-files/files/etc/device_info b/package/base-files/files/etc/device_info
index 2962cd7..4045e9e 100644
--- a/package/base-files/files/etc/device_info
+++ b/package/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/package/base-files/image-config.in b/package/base-files/image-config.in
index fd0ead6..c1c0924 100644
--- a/package/base-files/image-config.in
+++ b/package/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"