|
|
@ -39,6 +39,7 @@ endef |
|
|
|
define Package/keepalived/conffiles |
|
|
|
/etc/keepalived/keepalived.conf |
|
|
|
/etc/config/keepalived |
|
|
|
/etc/keepalived.user |
|
|
|
endef |
|
|
|
|
|
|
|
CONFIGURE_ARGS+= \
|
|
|
@ -62,6 +63,10 @@ define Package/keepalived/install |
|
|
|
$(INSTALL_BIN) ./files/keepalived.init $(1)/etc/init.d/keepalived |
|
|
|
$(INSTALL_DIR) $(1)/etc/config |
|
|
|
$(INSTALL_CONF) ./files/keepalived.config $(1)/etc/config/keepalived |
|
|
|
$(INSTALL_DIR) $(1)/etc |
|
|
|
$(INSTALL_CONF) ./files/keepalived.user $(1)/etc/keepalived.user |
|
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/keepalived |
|
|
|
$(INSTALL_DATA) ./files/hotplug-user $(1)/etc/hotplug.d/keepalived/01-user |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call BuildPackage,keepalived)) |