mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add a LuCI interface for omr-tracker
This commit is contained in:
parent
6e313a25b8
commit
559e8216af
5 changed files with 66 additions and 2 deletions
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@omr-tracker[-1]
|
||||
add ucitrack omr-tracker
|
||||
set ucitrack.@omr-tracker[-1].init=omr-tracker
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
rm -f /tmp/luci-indexcache
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue