summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xapplications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr13
-rw-r--r--applications/luci-app-olsr/root/usr/share/ucitrack/luci-app-olsr.json4
-rw-r--r--applications/luci-app-olsr/root/usr/share/ucitrack/luci-app-olsr6.json4
3 files changed, 8 insertions, 13 deletions
diff --git a/applications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr b/applications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr
deleted file mode 100755
index a941abd54c..0000000000
--- a/applications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-uci -q batch <<-EOF >/dev/null
- delete ucitrack.@olsrd[-1]
- add ucitrack olsrd
- set ucitrack.@olsrd[-1].init=olsrd
- delete ucitrack.@olsrd6[-1]
- add ucitrack olsrd6
- set ucitrack.@olsrd6[-1].init=olsrd6
- commit ucitrack
-EOF
-
-exit 0
diff --git a/applications/luci-app-olsr/root/usr/share/ucitrack/luci-app-olsr.json b/applications/luci-app-olsr/root/usr/share/ucitrack/luci-app-olsr.json
new file mode 100644
index 0000000000..e98139f68d
--- /dev/null
+++ b/applications/luci-app-olsr/root/usr/share/ucitrack/luci-app-olsr.json
@@ -0,0 +1,4 @@
+{
+ "config": "olsrd",
+ "init": "olsrd"
+}
diff --git a/applications/luci-app-olsr/root/usr/share/ucitrack/luci-app-olsr6.json b/applications/luci-app-olsr/root/usr/share/ucitrack/luci-app-olsr6.json
new file mode 100644
index 0000000000..5b4960110f
--- /dev/null
+++ b/applications/luci-app-olsr/root/usr/share/ucitrack/luci-app-olsr6.json
@@ -0,0 +1,4 @@
+{
+ "config": "olsrd6",
+ "init": "olsrd6"
+}