mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add new macvlan packages with needed scripts
This commit is contained in:
parent
48aaf6bc5e
commit
7ef3c690b8
5 changed files with 165 additions and 2 deletions
11
macvlan/files/etc/uci-defaults/40_luci-app-macvlan
Normal file
11
macvlan/files/etc/uci-defaults/40_luci-app-macvlan
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue