summaryrefslogtreecommitdiff
path: root/openwrt/package/dropbear/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-03-14 16:01:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-03-14 16:01:08 +0000
commitb9dd6870733d28721673074742da0f26a61291c6 (patch)
tree2bb9703b91f5fbe49acfc9a3a265424e6c394113 /openwrt/package/dropbear/Makefile
parent3eccb89c62bec0a861a4bffaa6071e2c62007bee (diff)
downloadmtk-20170518-b9dd6870733d28721673074742da0f26a61291c6.zip
mtk-20170518-b9dd6870733d28721673074742da0f26a61291c6.tar.gz
mtk-20170518-b9dd6870733d28721673074742da0f26a61291c6.tar.bz2
add /etc/passwd with an empty root password for dropbear
SVN-Revision: 370
Diffstat (limited to 'openwrt/package/dropbear/Makefile')
-rw-r--r--openwrt/package/dropbear/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/dropbear/Makefile b/openwrt/package/dropbear/Makefile
index 62d802e..83558a3 100644
--- a/openwrt/package/dropbear/Makefile
+++ b/openwrt/package/dropbear/Makefile
@@ -55,6 +55,7 @@ $(DROPBEAR_DIR)/$(DROPBEAR_BINARY): $(DROPBEAR_DIR)/.configured
$(PACKAGE_DIR)/$(DROPBEAR_IPK): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY)
$(SCRIPT_DIR)/make-ipkg-dir.sh $(DROPBEAR_IPK_DIR) dropbear.control $(DROPBEAR_VERSION)-1 $(ARCH)
+ cp dropbear.conffiles $(DROPBEAR_IPK_DIR)/CONTROL/conffiles
mkdir -p $(DROPBEAR_IPK_DIR)/usr/bin
mkdir -p $(DROPBEAR_IPK_DIR)/usr/sbin
install -m 755 $(DROPBEAR_DIR)/$(DROPBEAR_BINARY) \
@@ -65,6 +66,7 @@ $(PACKAGE_DIR)/$(DROPBEAR_IPK): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY)
ln -sf ../sbin/dropbear $(DROPBEAR_IPK_DIR)/usr/bin/dropbearkey
ln -sf ../sbin/dropbear $(DROPBEAR_IPK_DIR)/usr/bin/dropbearconvert
mkdir -p $(DROPBEAR_IPK_DIR)/etc/init.d
+ cp ./files/passwd $(DROPBEAR_IPK_DIR)/etc
cp ./files/S50dropbear $(DROPBEAR_IPK_DIR)/etc/init.d/
chmod a+x $(DROPBEAR_IPK_DIR)/etc/init.d/S50dropbear
$(IPKG_BUILD) $(DROPBEAR_IPK_DIR) $(PACKAGE_DIR)