initscripts: start loxilb keepalived after reboot

When loxilb and keepalived are enabled, after BPFire
rebooted, loxilb and keepalived failed to start and
shows as "STOPPED" from UI, this is not expected since
we want to loxilb and keepalived to continue to be enabled
after reboot based on the enabled state of loxilb and
keepalived before reboot.

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-07-01 15:22:55 +00:00
parent fae6f15fbe
commit e7e1e67fc7
4 changed files with 11 additions and 4 deletions

View File

@@ -135,6 +135,8 @@ $(TARGET) :
ln -sf ../init.d/imspetor /etc/rc.d/rc3.d/S99imspetor
ln -sf ../init.d/motion /etc/rc.d/rc3.d/S99motion
ln -sf ../init.d/vdradmin /etc/rc.d/rc3.d/S99vdradmin
ln -sf ../init.d/loxilb /etc/rc.d/rc3.d/S100loxilb
ln -sf ../init.d/keepalived /etc/rc.d/rc3.d/S101keepalived
ln -sf ../init.d/imspetor /etc/rc.d/rc6.d/K01imspetor
ln -sf ../init.d/motion /etc/rc.d/rc6.d/K01motion