luci/applications/luci-app-udpxy/root/etc/uci-defaults/luci-udpxy
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
231 B
Bash

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