#!/bin/bash # Auto-generated start script # 启动所有监听服务 echo '启动 设备73-TCP (dev1) - TCP...' su root -c "/usr/bin/python3 /home/smart/pythonPJ/upc_resent/bin/dev1.py &" echo '启动 设备125-TCP (dev2) - TCP...' su root -c "/usr/bin/python3 /home/smart/pythonPJ/upc_resent/bin/dev2.py &" echo '启动 设备UDP示例 (dev3) - UDP...' su root -c "/usr/bin/python3 /home/smart/pythonPJ/upc_resent/bin/dev3.py &" echo "所有服务已启动"