1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00
openmptcprouter-feeds/luci-app-openmptcprouter/root/bin/omr-mptcp-intf
2018-06-18 10:56:32 +02:00

10 lines
306 B
Bash
Executable file

#!/bin/sh
uci -q batch <<-EOF >/dev/null
add_list dhcp.dnsmasq.ipset='/multipath-tcp.org/ss_rules_dst_bypass'
commit dhcp
EOF
curl -s -4 -m 5 --interface $1 http://www.multipath-tcp.org
uci -q batch <<-EOF >/dev/null
del_list dhcp.dnsmasq.ipset='/multipath-tcp.org/ss_rules_dst_bypass'
commit dhcp
EOF