diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2014-10-28 18:03:18 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2014-10-28 18:03:18 +0100 |
commit | 267a2e85486a498d85d01ba6594d9eb7b250ac5b (patch) | |
tree | a69decf973421c7e988f6227baa3045ef78e2ecf /applications/luci-udpxy/root | |
parent | 2826426c6a518867d695f05e514e41703deac3a1 (diff) |
applications/luci-udpxy: add new package.
This adds support for configuring udpxy.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'applications/luci-udpxy/root')
-rw-r--r-- | applications/luci-udpxy/root/etc/uci-defaults/luci-udpxy | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-udpxy/root/etc/uci-defaults/luci-udpxy b/applications/luci-udpxy/root/etc/uci-defaults/luci-udpxy new file mode 100644 index 0000000000..e93c078807 --- /dev/null +++ b/applications/luci-udpxy/root/etc/uci-defaults/luci-udpxy @@ -0,0 +1,12 @@ +#!/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 |