From: jow Date: Sat, 9 May 2009 22:12:20 +0000 (+0000) Subject: [packages] keepalived: force enabling of VRRP functionality, fix path to config file... X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=44f984c16debaff1bf3abcdba12c7447c118d599;p=packages.git [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 --- diff --git a/net/keepalived/Makefile b/net/keepalived/Makefile index a840e5b5a..bcf312bd8 100644 --- a/net/keepalived/Makefile +++ b/net/keepalived/Makefile @@ -47,7 +47,8 @@ CONFIGURE_ARGS+= \ --with-kernel-dir="$(LINUX_DIR)" \ 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 rm -rf $(PKG_INSTALL_DIR) diff --git a/net/keepalived/files/keepalived.init b/net/keepalived/files/keepalived.init index c98984bcf..723947cc3 100644 --- a/net/keepalived/files/keepalived.init +++ b/net/keepalived/files/keepalived.init @@ -4,7 +4,7 @@ START=70 start() { - [ -f /etc/keepalived/keepalived ] && /usr/sbin/keepalived + [ -f /etc/keepalived/keepalived.conf ] && /usr/sbin/keepalived } stop() {