mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 13:27:36 +08:00
update 2024-10-06 04:19:14
This commit is contained in:
parent
6a5ec107df
commit
4505d4a0f1
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -f "/etc/config/ucitrack" ] && {
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
delete ucitrack.@airconnect[-1]
|
delete ucitrack.@airconnect[-1]
|
||||||
add ucitrack airconnect
|
add ucitrack airconnect
|
||||||
set ucitrack.@airconnect[-1].init=airconnect
|
set ucitrack.@airconnect[-1].init=airconnect
|
||||||
commit ucitrack
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
rm -rf /tmp/luci-indexcache*
|
rm -rf /tmp/luci-indexcache*
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"config": "airconnect",
|
||||||
|
"init": "airconnect"
|
||||||
|
}
|
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -f "/etc/config/ucitrack" ] && {
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
delete ucitrack.@alist[-1]
|
delete ucitrack.@alist[-1]
|
||||||
add ucitrack alist
|
add ucitrack alist
|
||||||
set ucitrack.@alist[-1].init=alist
|
set ucitrack.@alist[-1].init=alist
|
||||||
commit ucitrack
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
rm -rf /tmp/luci-*
|
rm -rf /tmp/luci-*
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"config": "alist",
|
||||||
|
"init": "alist"
|
||||||
|
}
|
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -f "/etc/config/ucitrack" ] && {
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
delete ucitrack.@mosdns[-1]
|
delete ucitrack.@mosdns[-1]
|
||||||
add ucitrack mosdns
|
add ucitrack mosdns
|
||||||
set ucitrack.@mosdns[-1].init=mosdns
|
set ucitrack.@mosdns[-1].init=mosdns
|
||||||
commit ucitrack
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
rm -rf /tmp/luci-*
|
rm -rf /tmp/luci-*
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"config": "mosdns",
|
||||||
|
"init": "mosdns"
|
||||||
|
}
|
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -f "/etc/config/ucitrack" ] && {
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
delete ucitrack.@qbittorrent[-1]
|
delete ucitrack.@qbittorrent[-1]
|
||||||
add ucitrack qbittorrent
|
add ucitrack qbittorrent
|
||||||
set ucitrack.@qbittorrent[-1].init=qbittorrent
|
set ucitrack.@qbittorrent[-1].init=qbittorrent
|
||||||
commit ucitrack
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache*
|
rm -f /tmp/luci-indexcache*
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"config": "qbittorrent",
|
||||||
|
"init": "qbittorrent"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user