mirror of
https://github.com/mainnika/openwrt-feed-coredns.git
synced 2026-05-23 00:03:35 +00:00
Add openwrt init script and uci config section
This commit is contained in:
@@ -38,6 +38,12 @@ define Package/coredns/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/coredns $(1)/usr/sbin/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/coredns.init $(1)/etc/init.d/coredns
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/coredns.config $(1)/etc/config/coredns
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/coredns
|
||||
$(INSTALL_CONF) ./files/Corefile $(1)/etc/coredns/Corefile
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user