diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot index 956d2ba2..b3439d5e 100755 --- a/src/freedombone-app-scuttlebot +++ b/src/freedombone-app-scuttlebot @@ -37,16 +37,13 @@ SHOW_ICANN_ADDRESS_ON_ABOUT=0 SCUTTLEBOT_VERSION='9.8.0' SCUTTLEBOT_PORT=8008 -SCUTTLEBOT_ONION_PORT=8118 scuttlebot_variables=(MY_USERNAME DEFAULT_DOMAIN_NAME SYSTEM_TYPE) function scuttlebot_create_invite { - read_config_param 'DEFAULT_DOMAIN_NAME' - SCUTTLEBOT_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_scuttlebot/hostname) - invite_string=$(su -c "sbot invite.create 1" - scuttlebot | sed 's/"//g' | sed "s/$DEFAULT_DOMAIN_NAME/$SCUTTLEBOT_ONION_HOSTNAME/g") + invite_string=$(su -c "sbot invite.create 1" - scuttlebot | sed 's/"//g') clear echo -e '\n\nYour Scuttlebot invite code is:\n\n'${invite_string}'\n\n' @@ -168,9 +165,6 @@ function remove_scuttlebot { systemctl disable scuttlebot rm /etc/systemd/system/scuttlebot.service - function_check remove_onion_service - remove_onion_service scuttlebot ${SCUTTLEBOT_ONION_PORT} - userdel -r scuttlebot if [ -d /etc/scuttlebot ]; then @@ -227,8 +221,6 @@ function install_scuttlebot { sleep 3 - SCUTTLEBOT_ONION_HOSTNAME=$(add_onion_service scuttlebot ${SCUTTLEBOT_PORT} ${SCUTTLEBOT_ONION_PORT}) - if [ ! -d /etc/scuttlebot/.ssb ]; then echo $'Scuttlebot config not generated' exit 73528