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