Signed-off-by: Artur Wiebe <[email protected]>
---
 rules/openssh.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/openssh.in b/rules/openssh.in
index 37013250c..b04a7a8a5 100644
--- a/rules/openssh.in
+++ b/rules/openssh.in
@@ -40,13 +40,13 @@ config OPENSSH_SSHD
 config OPENSSH_SSHD_STARTSCRIPT
        bool
        default y
-       depends on OPENSSH_SSHD
+       depends on OPENSSH_SSHD && INITMETHOD_BBINIT
        prompt "install /etc/init.d/openssh"
 
 config OPENSSH_SSHD_SYSTEMD_UNIT
        bool
        default y
-       depends on OPENSSH_SSHD && SYSTEMD
+       depends on OPENSSH_SSHD && INITMETHOD_SYSTEMD
        prompt "install systemd unit files for sshd"
 
 config OPENSSH_SSHD_GENKEYS
-- 
2.29.2


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to