1
0
Fork 0
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:
Ycarus 2018-02-28 16:05:10 +01:00
parent 6e313a25b8
commit 559e8216af
5 changed files with 66 additions and 2 deletions

View file

@ -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