summaryrefslogtreecommitdiff
path: root/make/openssh.mk
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-11-02 02:09:13 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-11-02 02:09:13 +0000
commit0079e8b3d24fe68213a6226a80d42d0d24680f0f (patch)
tree87ca3e306729dcc0d5a399366d1eac74ae9fbc9d /make/openssh.mk
parente93cda4d39617f39daa4409fdd67d3c63e450532 (diff)
Make sure the root/etc/init.d directory is there.
Diffstat (limited to 'make/openssh.mk')
-rw-r--r--make/openssh.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/openssh.mk b/make/openssh.mk
index 8f37abd0c..415835269 100644
--- a/make/openssh.mk
+++ b/make/openssh.mk
@@ -59,6 +59,7 @@ $(OPENSSH_DIR)/ssh: $(OPENSSH_DIR)/.configured
$(TARGET_DIR)/usr/bin/ssh: $(OPENSSH_DIR)/ssh
$(MAKE) CC=$(TARGET_CC) DESTDIR=$(TARGET_DIR) -C $(OPENSSH_DIR) install
+ mkdir -p $(TARGET_DIR)/etc/init.d/
cp $(OPENSSH_DIR)/S50sshd $(TARGET_DIR)/etc/init.d/
chmod a+x $(TARGET_DIR)/etc/init.d/S50sshd
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc