mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-27 00:17:29 +00:00
refactor!: drop legacy CLAWDBOT env compatibility
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# It's designed for quick one-tap checking from phone home screen.
|
||||
|
||||
# Server hostname (via Tailscale or SSH config)
|
||||
SERVER="${OPENCLAW_SERVER:-${CLAWDBOT_SERVER:-l36}}"
|
||||
SERVER="${OPENCLAW_SERVER:-l36}"
|
||||
|
||||
# Check auth status
|
||||
termux-toast "Checking OpenClaw auth..."
|
||||
@@ -24,7 +24,7 @@ case "$STATUS" in
|
||||
termux-toast "Auth OK (${HOURS}h left)"
|
||||
;;
|
||||
|
||||
CLAUDE_EXPIRING|OPENCLAW_EXPIRING|CLAWDBOT_EXPIRING)
|
||||
CLAUDE_EXPIRING|OPENCLAW_EXPIRING)
|
||||
termux-vibrate -d 100
|
||||
|
||||
# Ask if user wants to re-auth now
|
||||
@@ -51,7 +51,7 @@ case "$STATUS" in
|
||||
esac
|
||||
;;
|
||||
|
||||
CLAUDE_EXPIRED|OPENCLAW_EXPIRED|CLAWDBOT_EXPIRED)
|
||||
CLAUDE_EXPIRED|OPENCLAW_EXPIRED)
|
||||
termux-vibrate -d 300
|
||||
|
||||
CHOICE=$(termux-dialog radio -t "Auth Expired!" -v "Re-auth now,Dismiss")
|
||||
|
||||
Reference in New Issue
Block a user