diff options
author | Daniel Dickinson <cshoredaniel@users.noreply.github.com> | 2017-01-16 09:28:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-16 09:28:26 -0500 |
commit | 348a6fde90863f003c7735593a29bf8eb2d2086a (patch) | |
tree | 57c75270af6a0d06e19b44a448ed421a855da1a7 /applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint | |
parent | 859bac61fccc3ae66b542c592115e0f0bddc892b (diff) | |
parent | cd8096b0ce66be927fa0e73405aa503e2201c2ca (diff) |
Merge pull request #817 from ascob/luci-app-dynapoint
luci-app-dynapoint: new package
Diffstat (limited to 'applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint')
-rw-r--r-- | applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint b/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint new file mode 100644 index 0000000000..7287ccd420 --- /dev/null +++ b/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint @@ -0,0 +1,13 @@ +#!/bin/sh + +# needed for "Save and Apply" to restart dynapoint +uci -q batch <<-EOF >/dev/null + delete ucitrack.@dynapoint[-1] + add ucitrack dynapoint + set ucitrack.@dynapoint[-1].init="dynapoint" + commit dynapoint +EOF + +rm -f /tmp/luci-indexcache +exit 0 + |