1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Replace $certname with $HOSTNAME

This commit is contained in:
billz 2019-11-07 16:45:21 +00:00
parent bf9647c5bb
commit 3a0540c266

View File

@ -13,7 +13,7 @@ webroot_dir="/var/www/html"
function config_installation() { function config_installation() {
install_log "Configure a new SSL certificate" install_log "Configure a new SSL certificate"
echo "Current system hostname is ${certname}" echo "Current system hostname is $HOSTNAME"
echo -n "Create an SSL certificate for ${certname}? (Recommended) [y/N]" echo -n "Create an SSL certificate for ${certname}? (Recommended) [y/N]"
if [ $assume_yes == 0 ]; then if [ $assume_yes == 0 ]; then
read answer read answer