mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
net/keepalived: add keepalived.user script handling
Add keepalived.user script handling which are also saved during sysupgrade. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user