From 1b6dfd02b81c38108eacfa56aa2d21184cec01e7 Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 05 四月 2017 10:37:50 +0800 Subject: [PATCH] add config.mediaalarm14.json --- ProxyConsole/auto-net-ip.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ProxyConsole/auto-net-ip.sh b/ProxyConsole/auto-net-ip.sh index c9c3719..0593ffe 100644 --- a/ProxyConsole/auto-net-ip.sh +++ b/ProxyConsole/auto-net-ip.sh @@ -3,10 +3,10 @@ #crontab: #*/2 * * * * /bin/sh /opt/auto-net-ip.sh > /dev/null 2>&1 -HAS_NET=`ifconfig | grep enp1s0 | grep 172.16` +HAS_NET=`ifconfig | grep enp1s0 | grep 172.24` if [ -z "$HAS_NET" ]; then echo "set ip address" - ifconfig enp1s0 172.16.23.10/16 + ifconfig enp1s0 172.16.24.10/16 ifconfig enp2s0 192.168.1.100/24 fi -- Gitblit v1.8.0