mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 06:55:13 +08:00
🎄 Sync 2026-08-30 03:21:07
This commit is contained in:
1 parent
eea38c835c
commit
5093acfe28
30 files changed
+647
-93
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
[ ! -f "/usr/share/ucitrack/luci-app-agentflow.json" ] && {
|
||||
cat > /usr/share/ucitrack/luci-app-agentflow.json << EEOF
|
||||
{
|
||||
"config": "agentflow",
|
||||
"init": "agentflow"
|
||||
}
|
||||
EEOF
|
||||
}
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@agentflow[-1]
|
||||
add ucitrack agentflow
|
||||
set ucitrack.@agentflow[-1].init=agentflow
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
/etc/init.d/agentflow enable
|
||||
/etc/init.d/agentflow start
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user