Files
schedule/src/schedule-2.0/scripts/genkey.sh

5 lines
116 B
Bash
Executable File

#!/bin/bash
if [ ! -f /var/www/html/schedule/.key ]; then
openssl rand -hex 32 > /var/www/html/schedule/.key
fi