summaryrefslogtreecommitdiff
path: root/package/uhttpd/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-08-11 13:30:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-08-11 13:30:47 +0000
commit5bc74fcb6fefe974f197490776fee86757e2a48d (patch)
treec00781cf8c22569cb8668f215752cbefbb4551c8 /package/uhttpd/files
parent46016457c292747652907516b6bd58081bc42894 (diff)
downloadmtk-20170518-5bc74fcb6fefe974f197490776fee86757e2a48d.zip
mtk-20170518-5bc74fcb6fefe974f197490776fee86757e2a48d.tar.gz
mtk-20170518-5bc74fcb6fefe974f197490776fee86757e2a48d.tar.bz2
uhttpd: make init script less verbose
SVN-Revision: 22593
Diffstat (limited to 'package/uhttpd/files')
-rwxr-xr-xpackage/uhttpd/files/uhttpd.init6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/uhttpd/files/uhttpd.init b/package/uhttpd/files/uhttpd.init
index b00b2e2..8221d85 100755
--- a/package/uhttpd/files/uhttpd.init
+++ b/package/uhttpd/files/uhttpd.init
@@ -45,11 +45,7 @@ generate_keys() {
$PX5G_BIN selfsigned -der \
-days ${days:-730} -newkey rsa:${bits:-1024} -keyout "$UHTTPD_KEY" -out "$UHTTPD_CERT" \
-subj /C=${country:-DE}/ST=${state:-Saxony}/L=${location:-Leipzig}/CN=${commonname:-OpenWrt}
- } || {
- echo "WARNING: the specified certificate and key" \
- "files do not exist and the px5g generator" \
- "is not available, skipping SSL setup."
- }
+ }
}
start_instance()