Преглед изворни кода

uhttpd: make init script less verbose

SVN-Revision: 22593
Jo-Philipp Wich пре 15 година
родитељ
комит
5bc74fcb6f
1 измењених фајлова са 1 додато и 5 уклоњено
  1. 1 5
      package/uhttpd/files/uhttpd.init

+ 1 - 5
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()