mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
atftp: add init script and config file
Signed-off-by: Russell Senior <russell@personaltelco.net>
This commit is contained in:
+6
-1
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=atftp
|
||||
PKG_VERSION:=0.7.2
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
||||
@@ -53,6 +53,11 @@ endef
|
||||
|
||||
define Package/atftpd/install
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(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_DIR) $(1)/srv/tftp
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)//usr/sbin/atftpd $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user