Use the newly added INSTALL_CONF variable
[openwrt/svn-archive/archive.git] / net / knock / Makefile
index 9d275da..0433e7b 100644 (file)
@@ -81,7 +81,7 @@ endef
 
 define Package/knockd/install
        $(INSTALL_DIR) $(1)/etc
-       install -m0600 $(PKG_INSTALL_DIR)/etc/knockd.conf $(1)/etc/
+       $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/knockd.conf $(1)/etc/
        $(INSTALL_DIR) $(1)/usr/sbin
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/knockd $(1)/usr/sbin/
 endef