]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/boot.d/19-httpcerts
HinzugefĆ¼gt:
[people/pmueller/ipfire-2.x.git] / src / boot.d / 19-httpcerts
diff --git a/src/boot.d/19-httpcerts b/src/boot.d/19-httpcerts
new file mode 100644 (file)
index 0000000..7b3181d
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+# https certificate
+if [ -f /etc/httpd/server.key -a -f /etc/httpd/server.crt -a -f /etc/httpd/server.csr ]; then
+       /usr/local/bin/httpscert read
+else
+       /usr/local/bin/httpscert new
+fi