Rename to hkt.sh
This commit is contained in:
13
scripts/pixel6-autostart.sh
Normal file
13
scripts/pixel6-autostart.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/data/data/com.termux/files/usr/bin/bash
|
||||
# Pixel 6 OpenClaw 开机自启脚本(带守护进程)
|
||||
|
||||
# 等待网络就绪
|
||||
sleep 10
|
||||
|
||||
# 启动 termux-wake-lock 防止休眠
|
||||
termux-wake-lock
|
||||
|
||||
# 启动守护进程(会自动启动 OpenClaw)
|
||||
nohup bash ~/watchdog.sh > ~/watchdog.log 2>&1 &
|
||||
|
||||
echo "OpenClaw 守护进程已启动 at $(date)" >> ~/openclaw-boot.log
|
||||
Reference in New Issue
Block a user