[packages] keepalived: force enabling of VRRP functionality, fix path to config file in init script (#5088)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15746 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dc68a002d9
commit
44f984c16d
@ -47,7 +47,8 @@ CONFIGURE_ARGS+= \
|
|||||||
--with-kernel-dir="$(LINUX_DIR)" \
|
--with-kernel-dir="$(LINUX_DIR)" \
|
||||||
|
|
||||||
CONFIGURE_VARS+= \
|
CONFIGURE_VARS+= \
|
||||||
ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=no \
|
ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes \
|
||||||
|
VRRP_SUPPORT=yes \
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
rm -rf $(PKG_INSTALL_DIR)
|
rm -rf $(PKG_INSTALL_DIR)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
START=70
|
START=70
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
[ -f /etc/keepalived/keepalived ] && /usr/sbin/keepalived
|
[ -f /etc/keepalived/keepalived.conf ] && /usr/sbin/keepalived
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user