diff options
author | wollman <wollman@FreeBSD.org> | 2005-09-23 16:54:09 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2005-09-23 16:54:09 +0000 |
commit | 49e164220d8f600c58e27cd87f29829032d64116 (patch) | |
tree | c0ccfc16885a2cfcb7423837294a72a33d2cac2c | |
parent | 58bbabb9cadf629f7ea5e7ca2bcdd875db781947 (diff) | |
download | FreeBSD-src-49e164220d8f600c58e27cd87f29829032d64116.zip FreeBSD-src-49e164220d8f600c58e27cd87f29829032d64116.tar.gz |
If we're not installing OpenSSH in the base, don't install its startup
file either. This clears the way for third-party SSH ports to install
an RCng startup script.
-rwxr-xr-x | etc/rc.d/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index 1e9d8c1..7437455 100755 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -31,7 +31,7 @@ FILES= DAEMON LOGIN NETWORKING SERVERS \ ramdisk ramdisk-own random rarpd rcconf.sh resolv root \ route6d routed routing rpcbind rtadvd rwho \ savecore securelevel sendmail \ - serial sppp sshd swap1 \ + serial sppp swap1 \ syscons sysctl syslogd \ timed tmp \ ugidfw usbd \ @@ -39,6 +39,11 @@ FILES= DAEMON LOGIN NETWORKING SERVERS \ watchdogd wpa_supplicant \ ypbind yppasswdd ypserv \ ypset ypupdated ypxfrd + +.if !defined(NO_OPENSSH) +FILES+= sshd +.endif + FILESDIR= /etc/rc.d FILESMODE= ${BINMODE} |