浏览代码

Retire the mesh option from the freedombone-client command

This is no longer the way that the mesh system is intended to be used
Bob Mottram 7 年前
父节点
当前提交
44fcd44d39
共有 2 个文件被更改,包括 1 次插入13 次删除
  1. 二进制
      man/freedombone-client.1.gz
  2. 1
    13
      src/freedombone-client

二进制
man/freedombone-client.1.gz 查看文件


+ 1
- 13
src/freedombone-client 查看文件

@@ -36,7 +36,6 @@ CURR_GROUP=$USER
36 36
 if [ -f /usr/bin/pacman ]; then
37 37
     CURR_GROUP='users'
38 38
 fi
39
-MESH_CLIENT_INSTALL=
40 39
 ENABLE_MONKEYSPHERE=
41 40
 
42 41
 # setup for a specific app
@@ -211,7 +210,7 @@ function configure_monkeysphere {
211 210
 
212 211
 function show_help {
213 212
     echo ''
214
-    echo $"${PROJECT_NAME}-client --mesh [yes|no] --monkeysphere [yes|no]"
213
+    echo $"${PROJECT_NAME}-client --monkeysphere [yes|no]"
215 214
     echo ''
216 215
     exit 0
217 216
 }
@@ -319,10 +318,6 @@ do
319 318
             verify_ssh_server_key
320 319
             exit 0
321 320
             ;;
322
-        -m|--mesh)
323
-            shift
324
-            MESH_CLIENT_INSTALL=${1}
325
-            ;;
326 321
         --monkeysphere|--ms|--monkey)
327 322
             shift
328 323
             ENABLE_MONKEYSPHERE=${1}
@@ -342,12 +337,5 @@ configure_ssh_client
342 337
 global_rate_limit
343 338
 configure_monkeysphere
344 339
 remove_known_hosts_entries
345
-if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CLIENT_INSTALL == $'on' ]]; then
346
-    echo $'Installing mesh packages'
347
-    sudo ${PROJECT_NAME}-mesh-install -f tox_node
348
-    sudo ${PROJECT_NAME}-mesh-install -f toxic
349
-    ${PROJECT_NAME}-mesh-install -f qtox
350
-    sudo ${PROJECT_NAME}-mesh-install -f zeronet
351
-fi
352 340
 echo $'Configuration complete'
353 341
 exit 0