mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
uhttpd: make init script less verbose
SVN-Revision: 22593
This commit is contained in:
parent
46016457c2
commit
5bc74fcb6f
@ -45,10 +45,6 @@ generate_keys() {
|
|||||||
$PX5G_BIN selfsigned -der \
|
$PX5G_BIN selfsigned -der \
|
||||||
-days ${days:-730} -newkey rsa:${bits:-1024} -keyout "$UHTTPD_KEY" -out "$UHTTPD_CERT" \
|
-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}
|
-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."
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user