uhttpd: make init script less verbose
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 11 Aug 2010 13:30:47 +0000 (13:30 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 11 Aug 2010 13:30:47 +0000 (13:30 +0000)
SVN-Revision: 22593

package/uhttpd/files/uhttpd.init

index b00b2e281b97898c784ef986d9c4b71f5ba0f2fc..8221d859bfc43a33f8bd9abdd0cf6f48d6c7fc4b 100755 (executable)
@@ -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()