From efe7a7faa4943470e9596647062c4a2d06a5322e Mon Sep 17 00:00:00 2001 From: Ycarus Date: Fri, 27 Jul 2018 16:57:32 +0200 Subject: [PATCH] No errors for ipset --- luci-app-openmptcprouter/root/bin/omr-ip-intf | 4 ++-- luci-app-openmptcprouter/root/bin/omr-mptcp-intf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/luci-app-openmptcprouter/root/bin/omr-ip-intf b/luci-app-openmptcprouter/root/bin/omr-ip-intf index feb3a9a43..cb7946a62 100755 --- a/luci-app-openmptcprouter/root/bin/omr-ip-intf +++ b/luci-app-openmptcprouter/root/bin/omr-ip-intf @@ -1,5 +1,5 @@ #!/bin/sh checkip=$(dig +short A ip.openmptcprouter.com | tr -d "\n") -ipset add ss_rules_dst_bypass $checkip +ipset add ss_rules_dst_bypass $checkip > /dev/null 2>&1 curl -s -4 -m 3 --interface $1 http://ip.openmptcprouter.com -ipset del ss_rules_dst_bypass $checkip +ipset del ss_rules_dst_bypass $checkip > /dev/null 2>&1 diff --git a/luci-app-openmptcprouter/root/bin/omr-mptcp-intf b/luci-app-openmptcprouter/root/bin/omr-mptcp-intf index ac24d3eac..9967d9576 100755 --- a/luci-app-openmptcprouter/root/bin/omr-mptcp-intf +++ b/luci-app-openmptcprouter/root/bin/omr-mptcp-intf @@ -1,5 +1,5 @@ #!/bin/sh multipathip=$(dig +short A multipath-tcp.org | tr -d "\n") -ipset add ss_rules_dst_bypass $multipathip +ipset add ss_rules_dst_bypass $multipathip > /dev/null 2>&1 curl -s -4 -m 3 --interface $1 http://www.multipath-tcp.org -ipset del ss_rules_dst_bypass $multipathip +ipset del ss_rules_dst_bypass $multipathip > /dev/null 2>&1