write-ip.sh 119 字节 原文件 审查 历史 永久链接 1 2 3 #!/bin/bash IP=$(hostname -I | awk '{print $1}') echo "$IP" > /root/lh-device-modbus-terminal/zlmediakit_config/ip.txt