Files
sanguo_vnpy/archive/2026-04-29-cleanup/scripts/deployment/start_launchd.exp
T
2026-04-29 20:15:43 +08:00

13 lines
262 B
Plaintext
Executable File

#!/usr/bin/expect -f
# 启动Launch Daemon守护进程
spawn sudo launchctl load -w /Users/chufeng/.openclaw/workspace-jiangwei/com.user.nasmount.plist
# 等待密码提示
expect "Password:"
# 发送密码
send "Ccf7561523\r"
# 等待命令完成
expect eof