Skip to content

Commit 90f6ac8

Browse files
gsanchiettiTbaile
andcommitted
fix(keepalived): disabled by default (#1413)
Co-authored-by: Tommaso Bailetti <[email protected]>
1 parent f315997 commit 90f6ac8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/keepalived/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=keepalived
1111
PKG_VERSION:=2.3.3
12-
PKG_RELEASE:=2
12+
PKG_RELEASE:=3
1313

1414
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1515
PKG_SOURCE_URL:=https://www.keepalived.org/software

packages/keepalived/files/keepalived.init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ start_service() {
659659
[ -f /etc/config/keepalived ] || return 0
660660

661661
config_load 'keepalived'
662-
config_get_bool enabled globals enabled 1
662+
config_get_bool enabled globals enabled 0
663663
[ "$enabled" = "0" ] && return 0
664664

665665
process_config

packages/ns-ha/files/500-dhcp-force

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ elif [ "$ACTION" == "NOTIFY_BACKUP" ]; then
1414
uci set dhcp.$section.force='0'
1515
done
1616
uci commit dhcp
17-
else
17+
elif [ "$ACTION" != "startup" ]; then
1818
# Sometimes dnsmasq starts when it should not: stop it at every sync and during shutdown
1919
/etc/init.d/dnsmasq stop 2&>/dev/null
20-
fi
20+
fi

0 commit comments

Comments
 (0)