summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6')
-rw-r--r--net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc610
1 files changed, 5 insertions, 5 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6
index ba32da563a62..46b5b425d9d8 100644
--- a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6
+++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -8,19 +8,19 @@ depend() {
use famd
}
-source /etc/courier-imap/pop3d-ssl
+. /etc/courier-imap/pop3d-ssl
checkconfig() {
- if [[ ! -e /etc/courier-imap/pop3d-ssl ]] ; then
+ if [ ! -e /etc/courier-imap/pop3d-ssl ] ; then
eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d-ssl"
return 1
fi
- source /etc/courier-imap/pop3d-ssl || {
+ . /etc/courier-imap/pop3d-ssl || {
eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl"
eerror "Please correct them before trying to start courier-pop3d-ssl"
return 3
}
- if [[ ! -e "${TLS_CERTFILE}" ]] ; then
+ if [ ! -e "${TLS_CERTFILE}" ] ; then
eerror "You need to create a SSL certificate to use POP3 over SSL"
eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert"
return 2