From: Jo-Philipp Wich Date: Wed, 11 Aug 2010 13:30:47 +0000 (+0000) Subject: uhttpd: make init script less verbose X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5bc74fcb6fefe974f197490776fee86757e2a48d;p=openwrt%2Fstaging%2Fldir.git uhttpd: make init script less verbose SVN-Revision: 22593 --- 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()