mirror of
https://github.com/openwrt/luci.git
synced 2026-08-31 17:01:56 +04:00
applications/luci-vnstat: add uci-defaults script
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user