4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5 !! letsencrypt.sh has been renamed to dehydrated !!
6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
8 Due to trademark violation letsencrypt.sh had to be renamed and is know called dehydrated.
10 To make a clean cut dehydrated doesn't use the old config locations /etc/letsencrypt.sh and
11 /usr/local/etc/letsencrypt.sh anymore, also the script file has been renamed.
13 If you were using the default WELLKNOWN location please also update your webserver to use /var/www/dehydrated.
15 You are currently running (or reading) a temporary wrapper which handles the old config locations,
16 you should update your setup to use /etc/dehydrated and the 'dehydrated' script file as soon as possible.
18 Script execution will continue in 10 seconds.
23 # parse given arguments for config
38 set -- "${tmpargs[@]}"
40 # look for default config locations
41 if [[ -z "${CONFIGARG:-}" ]]; then
42 for check_config in "/etc/letsencrypt.sh" "/usr/local/etc/letsencrypt.sh" "${PWD}" "${SCRIPTDIR}"; do
43 if [[ -f "${check_config}/config" ]]; then
44 CONFIG="${check_config}/config"
50 # find dehydrated script directory
51 SOURCE="${BASH_SOURCE[0]}"
52 while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
53 DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
54 SOURCE="$(readlink "$SOURCE")"
55 [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
57 DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
60 if [[ -n "${CONFIG:-}" ]]; then
61 "${DIR}/dehydrated" --config "${CONFIG}" "${@}"
63 "${DIR}/dehydrated" "${@}"