From 2e67bc632692427f8df07985b667cda507a71195 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 06 四月 2017 18:45:42 +0800
Subject: [PATCH] add config

---
 ProxyConsole/auto-net-ip.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ProxyConsole/auto-net-ip.sh b/ProxyConsole/auto-net-ip.sh
index 0593ffe..6d2d819 100644
--- a/ProxyConsole/auto-net-ip.sh
+++ b/ProxyConsole/auto-net-ip.sh
@@ -3,7 +3,7 @@
 #crontab:
 #*/2 * * * * /bin/sh /opt/auto-net-ip.sh > /dev/null 2>&1
 
-HAS_NET=`ifconfig | grep enp1s0 | grep 172.24`
+HAS_NET=`ifconfig | grep enp1s0 -A 1 | grep 172.16`
 
 if [ -z "$HAS_NET" ]; then
 	echo "set ip address"

--
Gitblit v1.8.0