mirror of
https://github.com/kenzok8/small-package
synced 2025-01-05 11:36:47 +08:00
update 2024-10-06 04:19:14
This commit is contained in:
parent
6a5ec107df
commit
4505d4a0f1
@ -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
|
||||
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "airconnect",
|
||||
"init": "airconnect"
|
||||
}
|
@ -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
|
||||
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "alist",
|
||||
"init": "alist"
|
||||
}
|
@ -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
|
||||
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "mosdns",
|
||||
"init": "mosdns"
|
||||
}
|
@ -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
|
||||
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "qbittorrent",
|
||||
"init": "qbittorrent"
|
||||
}
|
Loading…
Reference in New Issue
Block a user