vpnbypass: removed PROCD instance from start_service. 4337/head
authorStan Grishin <stangri@melmac.net>
Sun, 7 May 2017 09:35:47 +0000 (12:35 +0300)
committerStan Grishin <stangri@melmac.net>
Mon, 8 May 2017 00:57:47 +0000 (03:57 +0300)
Signed-off-by: Stan Grishin <stangri@melmac.net>
net/vpnbypass/Makefile
net/vpnbypass/files/vpnbypass.init

index 51ee35296064cf248042a0a224b00ee5748ea9a0..02bb543a6d7ac538756bb6515c58fa003432cf5c 100644 (file)
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=vpnbypass
 PKG_VERSION:=1.3.0
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 PKG_LICENSE:=GPL-3.0+
 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
 
index d8f92af78b482bd06b1c7fa1e30c018dfde17914..67ab2cb23d38fc8d6dfe53a76ebd537aa733d4eb 100644 (file)
@@ -57,11 +57,6 @@ start_service() {
   config_get routes   'config' 'remotesubnet'
   config_get ranges   'config' 'localsubnet'
 
-       procd_open_instance
-       procd_set_param stdout 1
-       procd_set_param stderr 1
-       procd_close_instance
-
        iptables -t mangle -D PREROUTING -m mark --mark 0x00/${FW_MASK} -g VPNBYPASS >/dev/null 2>&1
        ipt -t mangle -N VPNBYPASS; ipt -t mangle -A PREROUTING -m mark --mark 0x00/${FW_MASK} -g VPNBYPASS;
        ipt -t mangle -A VPNBYPASS -m set --match-set $IPSET dst -j MARK --set-mark ${FW_MARK}/${FW_MASK}