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

11 lines
306 B
Text
Raw Normal View History

2018-06-18 08:56:32 +00:00
#!/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