Raise default speed

parent 4f0d4f88
...@@ -15,7 +15,7 @@ IPSET="/usr/sbin/ipset" ...@@ -15,7 +15,7 @@ IPSET="/usr/sbin/ipset"
IPT="/usr/sbin/iptables" IPT="/usr/sbin/iptables"
IP6T="/usr/sbin/ip6tables" IP6T="/usr/sbin/ip6tables"
FORCEIFB=false FORCEIFB=false
DEFBAND="980" DEFBAND="1024"
DOUPLOAD=true DOUPLOAD=true
DODOWNLOAD=true DODOWNLOAD=true
IPSET_DURATION=3600 # Seconds IPSET_DURATION=3600 # Seconds
...@@ -58,7 +58,7 @@ if [ "$DOWNDEV" == "ifb0" ] ; then ...@@ -58,7 +58,7 @@ if [ "$DOWNDEV" == "ifb0" ] ; then
FORCEIFB=true FORCEIFB=true
fi fi
if [ $DOWNISBRIDGE ] ; then if $DOWNISBRIDGE ; then
if [ x"$(brctl show | grep $DOWNDEV)" != "" ] ; then if [ x"$(brctl show | grep $DOWNDEV)" != "" ] ; then
DOWNDEV=$(ls /sys/class/net/br0/brif/) DOWNDEV=$(ls /sys/class/net/br0/brif/)
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment