luci/applications/luci-app-olsr/root/etc/uci-defaults/luci-olsr
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

14 lines
270 B
Bash
Executable file

#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@olsrd[-1]
add ucitrack olsrd
set ucitrack.@olsrd[-1].init=olsrd
delete ucitrack.@olsrd6[-1]
add ucitrack olsrd6
set ucitrack.@olsrd6[-1].init=olsrd6
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0