1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add bypass by mac and fixes

This commit is contained in:
Ycarus 2018-11-02 20:19:50 +01:00
parent eee9719e96
commit a8119764dd
3 changed files with 65 additions and 3 deletions

View file

@ -27,7 +27,7 @@ if [ -n "$(uci -q get omr-bypass.ips)" ]; then
for ip in $ips; do
uci -q batch <<-EOF >/dev/null
set omr-bypass.ips[-1]=ips
set omr-bypass.ips[-1].name=$ip
set omr-bypass.ips[-1].ip=$ip
set omr-bypass.ips[-1].interface=all
EOF
done