summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2005-09-23 16:54:09 +0000
committerwollman <wollman@FreeBSD.org>2005-09-23 16:54:09 +0000
commit49e164220d8f600c58e27cd87f29829032d64116 (patch)
treec0ccfc16885a2cfcb7423837294a72a33d2cac2c /etc/rc.d
parent58bbabb9cadf629f7ea5e7ca2bcdd875db781947 (diff)
downloadFreeBSD-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.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/Makefile7
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}
OpenPOWER on IntegriCloud