op-packages/luci-app-hypercpe/root/usr/share/cpe/atcmd.sh
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00

8 lines
161 B
Bash
Executable File

#!/bin/sh
# 将 $2 中的所有单引号替换为双引号
# 发送处理后的命令
rec=$(sendat $1 $2)
# 将结果写入文件
echo "$rec" >> /tmp/result.at