Rename to hkt.sh

This commit is contained in:
mango
2026-03-21 01:10:53 +08:00
parent 76a263d0f9
commit 8f1171fe99
6676 changed files with 1724268 additions and 0 deletions

15
scripts/boot-start.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/data/data/com.termux/files/usr/bin/bash
# Termux:Boot 开机自启脚本
# 修复权限Android 14 重启后会重置)
/system/bin/chmod +x /data/data/com.termux/files/usr/bin/* 2>/dev/null
/system/bin/chmod +x /data/data/com.termux/files/usr/libexec/* 2>/dev/null
# 启动 SSH
sshd
# 启动 OpenClaw
cd ~/.openclaw/workspace && nohup openclaw gateway run >> ~/.openclaw/gateway.log 2>&1 &
# 启动数据收集循环
nohup bash ~/.openclaw/workspace/scripts/collect-phone-data-loop.sh &>/dev/null &