treewide: remove useless ucitrack definitions
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
This commit is contained in:
parent
185b84bc9d
commit
814ad96df9
21 changed files with 0 additions and 150 deletions
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@adblock[-1]
|
|
||||||
add ucitrack adblock
|
|
||||||
set ucitrack.@adblock[-1].init=adblock
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,12 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@aria2[-1]
|
|
||||||
add ucitrack aria2
|
|
||||||
set ucitrack.@aria2[-1].init=aria2
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
if [ ."$(uci -q get aria2.main)" != ."aria2" ]; then
|
if [ ."$(uci -q get aria2.main)" != ."aria2" ]; then
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
add aria2 aria2
|
add aria2 aria2
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@banip[-1]
|
|
||||||
add ucitrack banip
|
|
||||||
set ucitrack.@banip[-1].init=banip
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@bcp38[-1]
|
|
||||||
add ucitrack bcp38
|
|
||||||
add_list ucitrack.@bcp38[0].affects=firewall
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# register commit handler
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@dcwapd[-1]
|
|
||||||
add ucitrack dcwapd
|
|
||||||
set ucitrack.@dcwapd[-1].init=dcwapd
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@dnscrypt-proxy[-1]
|
|
||||||
add ucitrack dnscrypt-proxy
|
|
||||||
set ucitrack.@dnscrypt-proxy[-1].init=dnscrypt-proxy
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,12 +1,4 @@
|
||||||
#!/bin/sh
|
#!/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
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
. /lib/functions/network.sh
|
. /lib/functions/network.sh
|
||||||
|
|
||||||
[ "$(uci -q get fwknopd.@access[0].KEY)" != "CHANGEME" ] && exit 0
|
[ "$(uci -q get fwknopd.@access[0].KEY)" != "CHANGEME" ] && exit 0
|
||||||
uci batch <<EOF
|
|
||||||
add ucitrack fwknopd
|
|
||||||
set ucitrack.@fwknopd[-1].init=fwknopd
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
uci delete fwknopd.@access[0].KEY
|
uci delete fwknopd.@access[0].KEY
|
||||||
uci delete fwknopd.@access[0].HMAC_KEY
|
uci delete fwknopd.@access[0].HMAC_KEY
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@hd-idle[-1]
|
|
||||||
add ucitrack hd-idle
|
|
||||||
set ucitrack.@hd-idle[-1].init=hd-idle
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@mjpg-streamer[-1]
|
|
||||||
add ucitrack mjpg-streamer
|
|
||||||
set ucitrack.@mjpg-streamer[-1].init=mjpg-streamer
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@nextdns[-1]
|
|
||||||
add ucitrack nextdns
|
|
||||||
set ucitrack.@nextdns[-1].init=nextdns
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@nlbwmon[-1]
|
|
||||||
add ucitrack nlbwmon
|
|
||||||
set ucitrack.@nlbwmon[-1].init=nlbwmon
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -3,12 +3,5 @@
|
||||||
# Copyright (C) 2017 Steven Hessing (steven.hessing@live.com)
|
# Copyright (C) 2017 Steven Hessing (steven.hessing@live.com)
|
||||||
# This is free software, licensed under the GNU General Public License v3
|
# This is free software, licensed under the GNU General Public License v3
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@noddos[-1]
|
|
||||||
add ucitrack noddos
|
|
||||||
set ucitrack.@noddos[-1].init=noddos
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@pagekitec[-1]
|
|
||||||
add ucitrack pagekitec
|
|
||||||
set ucitrack.@pagekitec[-1].init=pagekitec
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,12 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@shadowsocks-libev[-1]
|
|
||||||
add ucitrack shadowsocks-libev
|
|
||||||
set ucitrack.@shadowsocks-libev[-1].init=shadowsocks-libev
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
mkdir -p /etc/shadowsocks-libev
|
mkdir -p /etc/shadowsocks-libev
|
||||||
/etc/init.d/rpcd reload
|
/etc/init.d/rpcd reload
|
||||||
|
|
|
@ -1,12 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# needed for "Save and Apply" to restart shairplay
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@shairplay[-1]
|
|
||||||
add ucitrack shairplay
|
|
||||||
set ucitrack.@shairplay[-1].init="shairplay"
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@travelmate[-1]
|
|
||||||
add ucitrack travelmate
|
|
||||||
set ucitrack.@travelmate[-1].init=travelmate
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,12 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# needed for "Save and Apply" to restart udpxy
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@udpxy[-1]
|
|
||||||
add ucitrack udpxy
|
|
||||||
set ucitrack.@udpxy[-1].init="udpxy"
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,12 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@unbound[-1]
|
|
||||||
add ucitrack unbound
|
|
||||||
set ucitrack.@unbound[-1].init=unbound
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@vnstat[-1]
|
|
||||||
add ucitrack vnstat
|
|
||||||
set ucitrack.@vnstat[-1].init=vnstat
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
delete ucitrack.@vpnbypass[-1]
|
|
||||||
add ucitrack vpnbypass
|
|
||||||
set ucitrack.@vpnbypass[-1].init=vpnbypass
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue