Skip to content

Commit 8dae4ca

Browse files
committed
Removing some unnecessary echo messages
1 parent 493d811 commit 8dae4ca

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

overlay/etc/ssl/inc/replace.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ replace_d () {
1616
FILE=${3}
1717

1818
if [ ! -z "${V}" ] ; then
19-
_echo " -- ${K}=${V} in ${FILE}..."
19+
#_echo " -- ${K}=${V} in ${FILE}..."
2020
sed -i "s|^#\?${K}.*$|${K}=${V}|i" ${FILE}
2121
fi
2222

overlay/etc/ssl/inc/setup-global.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ setup_global () {
1111
gomplate \
1212
-o ${SSL_GLOBAL_CFG} \
1313
-f ${TEMPLATES}/global.conf.tmpl
14-
_ok " - done."
1514
fi
1615

1716
if [ ! -f ${SSL_DHPARAM} ] ; then
1817
_echo " - generating dhparam..."
1918
openssl dhparam -out ${SSL_DHPARAM} ${SSL_DHPARAM_BITS}
20-
_ok " - done."
2119
fi
2220

2321
}

overlay/etc/ssl/inc/setup-nginx.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,4 @@ setup_nginx () {
2727
-o ${FILE} \
2828
-f ${TEMPLATES}/site.conf.tmpl
2929

30-
_ok " - done."
31-
3230
}

overlay/etc/ssl/inc/setup-ssl.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,5 @@ setup_ssl () {
5757
generate_temp_cert ${CERT}/fullchain.crt ${CERT}.key ${DOMAIN_NAME}
5858
generate_temp_cert ${CERT}/chain.crt ${CERT}/chain.key ${DOMAIN_NAME}
5959
rm ${CERT}/chain.key
60-
61-
_ok " - done."
6260

6361
}

overlay/etc/ssl/init

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ _done
3232

3333
_echo "Setting up domains..."
3434
for D in "${!DOMAINS[@]}" ; do
35+
3536
U=${DOMAINS[$D]} # upstream server
3637
A=(${ALIASES[${D}]}) # domain aliases
3738

@@ -40,6 +41,8 @@ for D in "${!DOMAINS[@]}" ; do
4041

4142
_echo " - ${D}: SSL..."
4243
setup_ssl ${D} A
44+
4345
_ok " - ${D} done."
46+
4447
done
45-
_done
48+
_ok "Domains set up."

0 commit comments

Comments
 (0)