Retire the mesh option from the freedombone-client command

This is no longer the way that the mesh system is intended to be used
This commit is contained in:
Bob Mottram 2018-01-23 21:05:21 +00:00
parent 1297c3db1c
commit 44fcd44d39
2 changed files with 1 additions and 13 deletions

Binary file not shown.

View File

@ -36,7 +36,6 @@ CURR_GROUP=$USER
if [ -f /usr/bin/pacman ]; then if [ -f /usr/bin/pacman ]; then
CURR_GROUP='users' CURR_GROUP='users'
fi fi
MESH_CLIENT_INSTALL=
ENABLE_MONKEYSPHERE= ENABLE_MONKEYSPHERE=
# setup for a specific app # setup for a specific app
@ -211,7 +210,7 @@ function configure_monkeysphere {
function show_help { function show_help {
echo '' echo ''
echo $"${PROJECT_NAME}-client --mesh [yes|no] --monkeysphere [yes|no]" echo $"${PROJECT_NAME}-client --monkeysphere [yes|no]"
echo '' echo ''
exit 0 exit 0
} }
@ -319,10 +318,6 @@ do
verify_ssh_server_key verify_ssh_server_key
exit 0 exit 0
;; ;;
-m|--mesh)
shift
MESH_CLIENT_INSTALL=${1}
;;
--monkeysphere|--ms|--monkey) --monkeysphere|--ms|--monkey)
shift shift
ENABLE_MONKEYSPHERE=${1} ENABLE_MONKEYSPHERE=${1}
@ -342,12 +337,5 @@ configure_ssh_client
global_rate_limit global_rate_limit
configure_monkeysphere configure_monkeysphere
remove_known_hosts_entries remove_known_hosts_entries
if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CLIENT_INSTALL == $'on' ]]; then
echo $'Installing mesh packages'
sudo ${PROJECT_NAME}-mesh-install -f tox_node
sudo ${PROJECT_NAME}-mesh-install -f toxic
${PROJECT_NAME}-mesh-install -f qtox
sudo ${PROJECT_NAME}-mesh-install -f zeronet
fi
echo $'Configuration complete' echo $'Configuration complete'
exit 0 exit 0