keepalived/ipvs: move ipvsadm to core package

prepare keepalived with ipvs for layer 4
load balancer

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-07-02 20:52:49 +00:00
parent fa69bf1da3
commit 0f54cfef92
2 changed files with 2 additions and 2 deletions

View File

@@ -28,10 +28,10 @@ eval $(/usr/local/bin/readhash /var/ipfire/keepalived/runsettings)
case "${1}" in
start)
# Load IPVS module
# modprobe ip_vs
modprobe ip_vs
# Enable connection tracking for IPVS
# sysctl -w net.ipv4.vs.conntrack=1 &>/dev/null
sysctl -w net.ipv4.vs.conntrack=1 &>/dev/null
if [ "$ENABLE_HA" == "on" ]; then
boot_mesg "Starting keepalive daemon..."