summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat10
-rw-r--r--applications/luci-app-watchcat/root/usr/share/ucitrack/luci-app-watchcat.json4
2 files changed, 4 insertions, 10 deletions
diff --git a/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat b/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat
deleted file mode 100644
index 02a7f09783..0000000000
--- a/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-uci -q batch <<-EOF >/dev/null
- delete ucitrack.@watchcat[-1]
- add ucitrack watchcat
- set ucitrack.@watchcat[-1].init=watchcat
- commit ucitrack
-EOF
-
-exit 0
diff --git a/applications/luci-app-watchcat/root/usr/share/ucitrack/luci-app-watchcat.json b/applications/luci-app-watchcat/root/usr/share/ucitrack/luci-app-watchcat.json
new file mode 100644
index 0000000000..616dd1fb79
--- /dev/null
+++ b/applications/luci-app-watchcat/root/usr/share/ucitrack/luci-app-watchcat.json
@@ -0,0 +1,4 @@
+{
+ "config": "watchcat",
+ "init": "watchcat"
+}