From 92fb78265fedfea2ed7ec649b2b0c58990ff29ca Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sun, 7 May 2017 12:35:47 +0300 Subject: [PATCH] vpnbypass: removed PROCD instance from start_service. Signed-off-by: Stan Grishin --- net/vpnbypass/Makefile | 2 +- net/vpnbypass/files/vpnbypass.init | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/net/vpnbypass/Makefile b/net/vpnbypass/Makefile index 51ee35296..02bb543a6 100644 --- a/net/vpnbypass/Makefile +++ b/net/vpnbypass/Makefile @@ -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 diff --git a/net/vpnbypass/files/vpnbypass.init b/net/vpnbypass/files/vpnbypass.init index d8f92af78..67ab2cb23 100644 --- a/net/vpnbypass/files/vpnbypass.init +++ b/net/vpnbypass/files/vpnbypass.init @@ -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}