summaryrefslogtreecommitdiff
path: root/package/network/services/uhttpd
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-03-24 22:40:13 +0100
committerJohn Crispin <blogic@openwrt.org>2016-03-24 22:40:13 +0100
commitfa69553900516944fc43cf7b377105ea1f6d3db0 (patch)
tree2df1a9d02c0a785f6d5865bd6e82fbc65243e4ad /package/network/services/uhttpd
parent343c3be45451e4a11f03109bd6cb1dd9061ec5eb (diff)
downloadmtk-20170518-fa69553900516944fc43cf7b377105ea1f6d3db0.zip
mtk-20170518-fa69553900516944fc43cf7b377105ea1f6d3db0.tar.gz
mtk-20170518-fa69553900516944fc43cf7b377105ea1f6d3db0.tar.bz2
branding: add LEDE branding
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'package/network/services/uhttpd')
-rw-r--r--package/network/services/uhttpd/files/uhttpd.config4
-rwxr-xr-xpackage/network/services/uhttpd/files/uhttpd.init2
2 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.config b/package/network/services/uhttpd/files/uhttpd.config
index e14b9fe..f8df4cd 100644
--- a/package/network/services/uhttpd/files/uhttpd.config
+++ b/package/network/services/uhttpd/files/uhttpd.config
@@ -83,7 +83,7 @@ config uhttpd main
option tcp_keepalive 1
# Basic auth realm, defaults to local hostname
-# option realm OpenWrt
+# option realm Lede
# Configuration file in busybox httpd format
# option config /etc/httpd.conf
@@ -119,4 +119,4 @@ config cert px5g
option location Unknown
# Common name
- option commonname OpenWrt
+ option commonname Lede
diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init
index 4ca6c8d..1b457a2 100755
--- a/package/network/services/uhttpd/files/uhttpd.init
+++ b/package/network/services/uhttpd/files/uhttpd.init
@@ -46,7 +46,7 @@ generate_keys() {
[ -x "$PX5G_BIN" ] && {
$PX5G_BIN selfsigned -der \
-days ${days:-730} -newkey rsa:${bits:-2048} -keyout "${UHTTPD_KEY}.new" -out "${UHTTPD_CERT}.new" \
- -subj /C="${country:-DE}"/ST="${state:-Saxony}"/L="${location:-Leipzig}"/CN="${commonname:-OpenWrt}"
+ -subj /C="${country:-DE}"/ST="${state:-Saxony}"/L="${location:-Leipzig}"/CN="${commonname:-Lede}"
sync
mv "${UHTTPD_KEY}.new" "${UHTTPD_KEY}"
mv "${UHTTPD_CERT}.new" "${UHTTPD_CERT}"