mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add bypass IPs and network support
This commit is contained in:
parent
1bdb327224
commit
602aa8a127
7 changed files with 83 additions and 16 deletions
11
luci-app-omr-bypass/root/etc/uci-defaults/41_omr-bypass
Normal file
11
luci-app-omr-bypass/root/etc/uci-defaults/41_omr-bypass
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@omr-bypass[-1]
|
||||
add ucitrack omr-bypass
|
||||
set ucitrack.@omr-bypass[-1].init=omr-bypass
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
rm -f /tmp/luci-indexcache
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue