mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix omr-bypass log
This commit is contained in:
parent
a38d2c0b7b
commit
741fefed29
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ EXTRA_COMMANDS="reload_rules bypass_asn"
|
|||
|
||||
_add_proto() {
|
||||
protoname=$1
|
||||
if [ "$(dd if=/proc/net/xt_ndpi/proto bs=4096 | grep $protoname)" = "" ]; then
|
||||
if [ "$(dd if=/proc/net/xt_ndpi/proto bs=4096 2> /dev/null | grep $protoname)" = "" ]; then
|
||||
echo "add_custom $protoname" >/proc/net/xt_ndpi/proto
|
||||
fi
|
||||
hosts="$( uci -q get omr-bypass.$protoname.url )"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue