genkey sans message au reconfigure

This commit is contained in:
2020-05-13 14:03:46 +02:00
parent 8dcd16228b
commit 1eafb7090e

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
if [ ! -f /var/www/html/schedule/.key ]; then if [ ! -f /var/www/html/schedule/.key ]; then
cat /dev/urandom | tr -dc '_A-Za-z0-9' | head -c${1:-32} > /var/www/html/schedule/.key openssl rand -hex 32 > /var/www/html/schedule/.key
fi fi