X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fuhttpd%2Ffiles%2Fuhttpd.init;h=8221d859bfc43a33f8bd9abdd0cf6f48d6c7fc4b;hp=b00b2e281b97898c784ef986d9c4b71f5ba0f2fc;hb=748d0a89ffa70c3c670acfaafe0716ee0b00b7b3;hpb=b49be9ab8fab4e87fc3c77e393fd2cd918bf1888 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()