From 424383210b95a77899b363ce0621fae5cb5e76dd Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 22 May 2019 07:22:08 +0000 Subject: [PATCH] pkgbase: Move rc.sendmail to libexec/rc Reviewed by: bapt --- etc/Makefile | 4 ---- libexec/rc/Makefile | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 6f1565f85cb..547a8f779e5 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -20,10 +20,6 @@ BIN1= \ # NB: keep these sorted by MK_* knobs -.if ${MK_SENDMAIL} != "no" -BIN1+= rc.sendmail -.endif - .if ${MK_SENDMAIL} == "no" ETCMAIL=mailer.conf aliases .else diff --git a/libexec/rc/Makefile b/libexec/rc/Makefile index 854fae6c7cf..3e75a15201b 100644 --- a/libexec/rc/Makefile +++ b/libexec/rc/Makefile @@ -8,6 +8,9 @@ CONFETC= network.subr rc rc.initdiskless rc.subr rc.shutdown rc.bsdextended .if ${MK_IPFW} != "no" CONFETC+= rc.firewall .endif +.if ${MK_SENDMAIL} != "no" +CONFETC+= rc.sendmail +.endif CONFETCMODE= 644 CONFETCEXEC= netstart pccard_ether rc.resume rc.suspend CONFETCEXECDIR= /etc