summaryrefslogtreecommitdiff
path: root/package/uhttpd/files
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-11 13:30:47 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-11 13:30:47 +0000
commit89c5fd59099bdfde01fdd09c1772f67911c0ea8c (patch)
tree55228f0fd9c6e6dcb481271045664a6d6f9cfc64 /package/uhttpd/files
parentb66f4d463b3dcd6dde992751b67f9866373a9154 (diff)
[package] uhttpd: make init script less verbose
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22593 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 b00b2e281b..8221d859bf 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()