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

Convert luci-app-macvlan to client side rendering

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-03-11 19:55:16 +01:00
parent 7953a89337
commit c8be607e09
9 changed files with 60 additions and 115 deletions

View file

@ -0,0 +1,11 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@macvlan[-1]
add ucitrack macvlan
set ucitrack.@macvlan[-1].init=macvlan
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0