summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint11
-rw-r--r--applications/luci-app-dynapoint/root/usr/share/ucitrack/luci-app-dynapoint.json4
2 files changed, 4 insertions, 11 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
deleted file mode 100644
index 0ffa34d762..0000000000
--- a/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/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
-
-exit 0
diff --git a/applications/luci-app-dynapoint/root/usr/share/ucitrack/luci-app-dynapoint.json b/applications/luci-app-dynapoint/root/usr/share/ucitrack/luci-app-dynapoint.json
new file mode 100644
index 0000000000..a81e9b09dd
--- /dev/null
+++ b/applications/luci-app-dynapoint/root/usr/share/ucitrack/luci-app-dynapoint.json
@@ -0,0 +1,4 @@
+{
+ "config": "dynapoint",
+ "init": "dynapoint"
+}