diff --git a/jra_nextcloud.sh b/jra_nextcloud.sh index b6b56e0..c5414da 100644 --- a/jra_nextcloud.sh +++ b/jra_nextcloud.sh @@ -132,9 +132,10 @@ sleep .1 #Enable HSTS while [ "$ENABLE_HSTS" != "yes" ] && [ "$ENABLE_HSTS" != "no" ] do - read -p "> Do you want to enable HSTS for this domain?: (yes or no) - Be aware this option apply mid-term effects on the domain, choose \"no\" + read -p "> Do you want to enable HSTS for this domain? (yes or no) [default: no]: + Be aware this option apply mid-term effects on the domain, choose \"no\" or leave empty in case you don't know what you are doing. More at https://hstspreload.org/$NL" -r ENABLE_HSTS + ENABLE_HSTS=${ENABLE_HSTS:-no} if [ "$ENABLE_HSTS" = "no" ]; then echo " - HSTS won't be enabled." elif [ "$ENABLE_HSTS" = "yes" ]; then @@ -163,7 +164,7 @@ if [ "$(dpkg-query -W -f='${Status}' jibri 2>/dev/null | grep -c "ok installed") echo "jitsi meet/jibri is installed, checking version:" apt-show-versions jibri else - echo "Wait!, jitsi-meet/jibri is not installed on this system using apt, exiting..." + echo "Wait!, jitsi-meet/jibri is not installed on this system via apt, exiting..." exit fi