Conversion of the 'uci-defaults' script for ucitrack handling to the new
json processing.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
+++ /dev/null
-#!/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
--- /dev/null
+{
+ "config": "olsrd",
+ "init": "olsrd"
+}
--- /dev/null
+{
+ "config": "olsrd6",
+ "init": "olsrd6"
+}