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

12 lines
246 B
Bash

#!/bin/sh
# needed for "Save and Apply" to restart dump1090
uci -q batch <<-EOF >/dev/null
delete ucitrack.@dump1090[-1]
add ucitrack dump1090
set ucitrack.@dump1090[-1].init="dump1090"
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0