mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
11 lines
306 B
Text
11 lines
306 B
Text
|
#!/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
|