summaryrefslogtreecommitdiffstats
path: root/rules/openssh.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/openssh.make')
-rw-r--r--rules/openssh.make26
1 files changed, 5 insertions, 21 deletions
diff --git a/rules/openssh.make b/rules/openssh.make
index ddbc0f868..161b2cd76 100644
--- a/rules/openssh.make
+++ b/rules/openssh.make
@@ -140,6 +140,11 @@ ifdef PTXCONF_OPENSSH_SSHD
@$(call install_alternative, openssh, 0, 0, 0644, /etc/ssh/sshd_config)
@$(call install_copy, openssh, 0, 0, 0755, $(OPENSSH_DIR)/sshd, \
/usr/sbin/sshd)
+ifdef PTXCONF_INITMETHOD_BBINIT
+ifdef PTXCONF_OPENSSH_SSHD_STARTSCRIPT
+ @$(call install_alternative, openssh, 0, 0, 0755, /etc/init.d/openssh, n)
+endif
+endif
endif
ifdef PTXCONF_OPENSSH_SCP
@@ -157,27 +162,6 @@ ifdef PTXCONF_OPENSSH_KEYGEN
/usr/bin/ssh-keygen)
endif
-ifdef PTXCONF_ROOTFS_ETC_INITD_OPENSSH_DEFAULT
-# install the generic one
- @$(call install_copy, openssh, 0, 0, 0755, \
- $(PTXDIST_TOPDIR)/generic/etc/init.d/openssh, \
- /etc/init.d/openssh, n)
-endif
-
-ifdef PTXCONF_ROOTFS_ETC_INITD_OPENSSH_USER
-# install users one
- @$(call install_copy, openssh, 0, 0, 0755, \
- $(PTXDIST_WORKSPACE)/projectroot/etc/init.d/openssh, \
- /etc/init.d/openssh, n)
-endif
-#
-# FIXME: Is this packet the right location for the link?
-#
-ifneq ($(PTXCONF_ROOTFS_ETC_INITD_OPENSSH_LINK),"")
- @$(call install_link, openssh, ../init.d/openssh, \
- /etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_OPENSSH_LINK))
-endif
-
@$(call install_finish, openssh)
@$(call touch, $@)