luci/applications/luci-app-vnstat/root/etc/uci-defaults/luci-vnstat
Jo-Philipp Wich 1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00

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