Browse Source

opt:删除license检查

sensordb2 2 tháng trước cách đây
mục cha
commit
7a4aba5dcc
2 tập tin đã thay đổi với 0 bổ sung11 xóa
  1. 0 5
      minio-into-stck/restart.sh
  2. 0 6
      minio-into-stck/run.sh

+ 0 - 5
minio-into-stck/restart.sh

@@ -5,11 +5,6 @@ cat << 'LOGO'
    
                            重启脚本
 
-                运行此脚本时可附加参数(不加参数则视为全部重启)
-                        -1 storage
-                        -2 insert
-                        -3 query
-
 ###############################################################                                             
 LOGO
 base_dir=$(

+ 0 - 6
minio-into-stck/run.sh

@@ -63,12 +63,6 @@ if [[ ! -x "$base_dir/minio-into-stck" ]]; then
     log_err "minio-into-stck无可执行权限,无法运行。请使用chmod" && exit 1
 fi
 
-if [[ ! -f "$base_dir/license/license_key.json" ]]; then
-    log_warn "您可能未开始、或未完成授权过程.现在生成key,请之后完成授权过程再启动此脚本"
-    # exit 1
-fi
-
-
 ###################################################################################################
 if ps -auxc | grep "minio-into-stck" | grep -v grep > /dev/null; then
     log_info "minio-into-stck已在运行"