atftpd: fix conffiles

Add missing conffiles
Fix conffile permission

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
(cherry picked from commit 3d66be4203)
This commit is contained in:
Huangbin Zhan 2021-10-24 18:30:49 +08:00 committed by Josef Schlehofer
parent 5aa7afd338
commit 9618e1dd4c
1 changed files with 5 additions and 1 deletions

View File

@ -56,11 +56,15 @@ define Package/atftpd/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/atftpd.init $(1)/etc/init.d/atftpd
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_BIN) ./files/atftpd.conf $(1)/etc/config/atftpd
$(INSTALL_CONF) ./files/atftpd.conf $(1)/etc/config/atftpd
$(INSTALL_DIR) $(1)/srv/tftp
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)//usr/sbin/atftpd $(1)/usr/sbin/
endef
define Package/atftpd/conffiles
/etc/config/atftpd
endef
$(eval $(call BuildPackage,atftp))
$(eval $(call BuildPackage,atftpd))