packages/openvpn: fix pid-file arg passed in service command-line
authorNicolas Thill <nico@openwrt.org>
Wed, 16 Nov 2011 13:27:42 +0000 (13:27 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 16 Nov 2011 13:27:42 +0000 (13:27 +0000)
SVN-Revision: 29184

net/openvpn-devel/Makefile
net/openvpn/Makefile
net/openvpn/files/openvpn.init

index 2261f6c6631767a632ce38bee5d0d0e24b17396d..44ca487263459abbad891a244a142d0d67ed1e5a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openvpn-devel
 PKG_VERSION:=201120
-PKG_RELEASE:=1
+PKG_RELEASE:=3
 
 PKG_SOURCE:=openvpn-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel \
index 12715d2f1af4be96c7bd83f22d966d193285c3b5..53dcd98119d1dd5082a91578ee7571ae6cf1d5fc 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openvpn
 PKG_VERSION:=2.2.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://swupdate.openvpn.net/community/releases @SF/openvpn
index 206763e2b4fba831b156b943da9b8903c3dcb6ce..3ff1cd6923ff2e7af764c47b89730d37545bd3ca 100644 (file)
@@ -107,7 +107,7 @@ start_instance() {
                down push up
 
 
-       SERVICE_PID_FILE="/var/run/openvpn-$s.pid" \
+       SERVICE_PID_FILE="/var/run/openvpn-$s.pid"
        service_start /usr/sbin/openvpn --syslog "openvpn($s)" --writepid "$SERVICE_PID_FILE" $ARGS
 }
 
@@ -116,7 +116,7 @@ stop_instance() {
 
        section_enabled "$s" || return 1
 
-       SERVICE_PID_FILE="/var/run/openvpn-$s.pid" \
+       SERVICE_PID_FILE="/var/run/openvpn-$s.pid"
        service_stop /usr/sbin/openvpn
 }
 
@@ -125,7 +125,7 @@ reload_instance() {
 
        section_enabled "$s" || return 1
 
-       SERVICE_PID_FILE="/var/run/openvpn-$s.pid" \
+       SERVICE_PID_FILE="/var/run/openvpn-$s.pid"
        service_reload /usr/sbin/openvpn
 }