#!/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