diff options
-rw-r--r-- | mail/qmail/Makefile | 2 | ||||
-rw-r--r-- | mail/qmail/files/pkg-install.in | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index b97ab57ab871..fbe9faa667a5 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -185,7 +185,7 @@ OPTIONS+= RELAYMAILFROM "Open relay based on mailfrom" off \ OPTIONS+= QEXTRA "enable QUEUE_EXTRA copy feature" off .if !defined(SLAVE_LDAP) -OPTIONS+= RCDLINK "create rc.d/qmail.sh" on +OPTIONS+= RCDLINK "create rc.d/qmail.sh symlink" on .endif ALL_TARGET+= default dot-qmail.5 qmail-control.5 qmail-getpw.8 \ diff --git a/mail/qmail/files/pkg-install.in b/mail/qmail/files/pkg-install.in index c99831c5c793..c6dd258e00d2 100644 --- a/mail/qmail/files/pkg-install.in +++ b/mail/qmail/files/pkg-install.in @@ -72,6 +72,12 @@ elif [ "$2" = "POST-INSTALL" ]; then %%RCDLINK%%ln -s ${PREFIX}/rc %%LOCALBASE%%/etc/rc.d/qmail.sh + %%RCDLINK%%echo "" + %%RCDLINK%%echo "A %%LOCALBASE%%/etc/rc.d/qmail.sh symlink was created. To enable qmail at boot" + %%RCDLINK%%echo "time you need to copy a script to %%PREFIX%%/rc. There are some examples at" + %%RCDLINK%%echo "%%PREFIX/boot" + %%RCDLINK%%echo "" + if ! touch ${PREFIX}/alias/.qmail-postmaster \ ${PREFIX}/alias/.qmail-root \ ${PREFIX}/alias/.qmail-mailer-daemon; then |