mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 11:01:50 +00:00
11 lines
186 B
Bash
Executable file
11 lines
186 B
Bash
Executable file
#!/bin/sh
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@vnstat[-1]
|
|
add ucitrack vnstat
|
|
set ucitrack.@vnstat[-1].init=vnstat
|
|
commit ucitrack
|
|
EOF
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
exit 0
|