1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 19:11:51 +00:00
openmptcprouter-feeds/luci-app-vnstat/root/etc/uci-defaults/40_luci-vnstat

12 lines
186 B
Text
Raw Normal View History

#!/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