mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-05 01:11:06 +02:00
[package] uhttpd: make init script less verbose
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22593 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b66f4d463b
commit
89c5fd5909
@ -45,11 +45,7 @@ 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."
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start_instance()
|
start_instance()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user