mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
keepalived: add uci config support
Adding @scrpi (Ben Kelly). Initial UCI config support was written by me (@commodo) Updates & fixes added by Ben. Signed-off-by: Ben Kelly <ben@benjii.net> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -63,6 +63,8 @@ define Package/keepalived/install
|
||||
$(CP) $(PKG_INSTALL_DIR)/etc/keepalived/keepalived.conf $(1)/etc/keepalived/
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/keepalived.init $(1)/etc/init.d/keepalived
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/keepalived.config $(1)/etc/config/keepalived
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,keepalived))
|
||||
|
||||
Reference in New Issue
Block a user