Use numeric prefixes for uci-defaults scripts
[project/luci.git] / applications / luci-app-dump1090 / root / etc / uci-defaults / luci-dump1090
diff --git a/applications/luci-app-dump1090/root/etc/uci-defaults/luci-dump1090 b/applications/luci-app-dump1090/root/etc/uci-defaults/luci-dump1090
deleted file mode 100644 (file)
index 4475d2f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# needed for "Save and Apply" to restart dump1090
-uci -q batch <<-EOF >/dev/null
-       delete ucitrack.@dump1090[-1]
-       add ucitrack dump1090
-       set ucitrack.@dump1090[-1].init="dump1090"
-       commit ucitrack
-EOF
-
-rm -f /tmp/luci-indexcache
-exit 0