Browse Source

更新 'init-per.sh'

胡增文 5 months ago
parent
commit
8b75caff82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      init-per.sh

+ 1 - 1
init-per.sh

@@ -27,6 +27,7 @@ else
         create_one=true
     fi
 fi
+
 if $create_one; then
 DIR="/opt/zerotier-one"
 if [ -d "$DIR" ]; then
@@ -45,7 +46,6 @@ dingtalk_api="https://oapi.dingtalk.com/robot/send?access_token=$access_token"
 message="告警:新的站需要组网 $member_id, 需要指定位 http://10.10.64.1:9443/ 站点编号: $proj "
 curl -H "Content-Type: application/json" -d "{\"msgtype\": \"text\", \"text\": {\"content\": \"$message\"},\"at\": {\"atMobiles\": [\"13452319860\"]}}" $dingtalk_api
 fi
-fi
 
 # 联网端口
 create_ha=false