Browse Source

atftpd: fix conffiles

Add missing conffiles
Fix conffile permission

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
lilik-openwrt-22.03
Huangbin Zhan 3 years ago
committed by Rosen Penev
parent
commit
3d66be4203
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      net/atftp/Makefile

+ 5
- 1
net/atftp/Makefile 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))

Loading…
Cancel
Save