更新 scripts/set_ip.sh

This commit is contained in:
joy 2025-10-16 09:43:23 +08:00
parent ac9bf12296
commit 79285f9cc7
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ hostnamectl set-hostname "${INBAND_IP//./-}"
bash bash
# 9.清理记录 # 9.清理记录
echo -e "清除记录"
crontab -l | grep -v '@reboot bash /opt/set_ip.sh > /tmp/ip_tmp.log' | crontab - crontab -l | grep -v '@reboot bash /opt/set_ip.sh > /tmp/ip_tmp.log' | crontab -
>/opt/ip.txt >/opt/ip.txt