diff --git a/luci-app-airconnect/root/etc/uci-defaults/luci-airconnect b/luci-app-airconnect/root/etc/uci-defaults/luci-airconnect index e3d54c159..0dedf1a52 100755 --- a/luci-app-airconnect/root/etc/uci-defaults/luci-airconnect +++ b/luci-app-airconnect/root/etc/uci-defaults/luci-airconnect @@ -1,11 +1,13 @@ #!/bin/sh +[ -f "/etc/config/ucitrack" ] && { uci -q batch <<-EOF >/dev/null delete ucitrack.@airconnect[-1] add ucitrack airconnect set ucitrack.@airconnect[-1].init=airconnect commit ucitrack EOF +} rm -rf /tmp/luci-indexcache* exit 0 diff --git a/luci-app-airconnect/root/usr/share/ucitrack/luci-app-airconnect.json b/luci-app-airconnect/root/usr/share/ucitrack/luci-app-airconnect.json new file mode 100644 index 000000000..0a1150e59 --- /dev/null +++ b/luci-app-airconnect/root/usr/share/ucitrack/luci-app-airconnect.json @@ -0,0 +1,4 @@ +{ + "config": "airconnect", + "init": "airconnect" +} diff --git a/luci-app-alist/root/etc/uci-defaults/luci-app-alist b/luci-app-alist/root/etc/uci-defaults/luci-app-alist index 86f97ece6..205f16097 100755 --- a/luci-app-alist/root/etc/uci-defaults/luci-app-alist +++ b/luci-app-alist/root/etc/uci-defaults/luci-app-alist @@ -1,11 +1,13 @@ #!/bin/sh +[ -f "/etc/config/ucitrack" ] && { uci -q batch <<-EOF >/dev/null delete ucitrack.@alist[-1] add ucitrack alist set ucitrack.@alist[-1].init=alist commit ucitrack EOF +} rm -rf /tmp/luci-* exit 0 diff --git a/luci-app-alist/root/usr/share/ucitrack/luci-app-alist.json b/luci-app-alist/root/usr/share/ucitrack/luci-app-alist.json new file mode 100644 index 000000000..0c0277699 --- /dev/null +++ b/luci-app-alist/root/usr/share/ucitrack/luci-app-alist.json @@ -0,0 +1,4 @@ +{ + "config": "alist", + "init": "alist" +} diff --git a/luci-app-mosdns/root/etc/uci-defaults/luci-mosdns b/luci-app-mosdns/root/etc/uci-defaults/luci-mosdns index 09c39fa02..86e26eab4 100755 --- a/luci-app-mosdns/root/etc/uci-defaults/luci-mosdns +++ b/luci-app-mosdns/root/etc/uci-defaults/luci-mosdns @@ -1,11 +1,13 @@ #!/bin/sh +[ -f "/etc/config/ucitrack" ] && { uci -q batch <<-EOF >/dev/null delete ucitrack.@mosdns[-1] add ucitrack mosdns set ucitrack.@mosdns[-1].init=mosdns commit ucitrack EOF +} rm -rf /tmp/luci-* exit 0 diff --git a/luci-app-mosdns/root/usr/share/ucitrack/luci-app-mosdns.json b/luci-app-mosdns/root/usr/share/ucitrack/luci-app-mosdns.json new file mode 100644 index 000000000..c6b8867f2 --- /dev/null +++ b/luci-app-mosdns/root/usr/share/ucitrack/luci-app-mosdns.json @@ -0,0 +1,4 @@ +{ + "config": "mosdns", + "init": "mosdns" +} diff --git a/luci-app-qbittorrent/root/etc/uci-defaults/qbittorrent b/luci-app-qbittorrent/root/etc/uci-defaults/qbittorrent index 0cdbab333..c2df97cf6 100755 --- a/luci-app-qbittorrent/root/etc/uci-defaults/qbittorrent +++ b/luci-app-qbittorrent/root/etc/uci-defaults/qbittorrent @@ -1,11 +1,13 @@ #!/bin/sh +[ -f "/etc/config/ucitrack" ] && { uci -q batch <<-EOF >/dev/null delete ucitrack.@qbittorrent[-1] add ucitrack qbittorrent set ucitrack.@qbittorrent[-1].init=qbittorrent commit ucitrack EOF +} rm -f /tmp/luci-indexcache* exit 0 diff --git a/luci-app-qbittorrent/root/usr/share/ucitrack/luci-app-qbittorrent.json b/luci-app-qbittorrent/root/usr/share/ucitrack/luci-app-qbittorrent.json new file mode 100644 index 000000000..817358fbc --- /dev/null +++ b/luci-app-qbittorrent/root/usr/share/ucitrack/luci-app-qbittorrent.json @@ -0,0 +1,4 @@ +{ + "config": "qbittorrent", + "init": "qbittorrent" +}