From: jow Date: Mon, 17 May 2010 20:05:32 +0000 (+0000) Subject: [packages] ucarp: fix hardcoded paths to binaries (#7345) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=2f4d192f2fb01e8aae6915adb1f906e4c8f408f5;p=packages.git [packages] ucarp: fix hardcoded paths to binaries (#7345) git-svn-id: svn://svn.openwrt.org/openwrt/packages@21496 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/ucarp/Makefile b/net/ucarp/Makefile index 63051cb01..67afdfc30 100644 --- a/net/ucarp/Makefile +++ b/net/ucarp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ucarp PKG_VERSION:=1.5.2 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://download.pureftpd.org/pub/ucarp diff --git a/net/ucarp/files/ucarp.init b/net/ucarp/files/ucarp.init index aa8ad9f70..c00baf4b6 100644 --- a/net/ucarp/files/ucarp.init +++ b/net/ucarp/files/ucarp.init @@ -2,6 +2,9 @@ START=50 CONF=/etc/ucarp.conf +IP=$(which ip) +UCARP=$(which ucarp) +ARPING=$(which arping) start() { . ${CONF} @@ -11,13 +14,13 @@ start() { cat > /var/run/ucarp-vip-up <> /var/run/ucarp-vip-up < /var/run/ucarp-vip-down <