diff --git a/src/freedombone b/src/freedombone index 49ce3313..9e7a4114 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8323,6 +8323,10 @@ function install_tox_client { exit 74872 fi make install + su -c 'echo "n +/nick $MY_USERNAME +/exit +" | /usr/bin/toxic -d' - $MY_USERNAME echo 'install_tox_client' >> $COMPLETION_FILE } diff --git a/src/freedombone-client b/src/freedombone-client index f1577282..f448ca88 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -107,7 +107,14 @@ function mesh_babel { if [ ! -f /tmp/meshtype ]; then sudo apt-get -y install babeld sudo apt-get -y install irssi mumble - sudo apt-get -y install toxic + if [ ! -f /usr/bin/toxic ]; then + sudo apt-get -y install toxic + echo "n +/nick $USER +/exit +" | /usr/bin/toxic -d + fi + CURR_DIR=$(pwd) if [ ! -f ~/develop/toxid ]; then if [ ! -f ~/develop ]; then @@ -206,7 +213,13 @@ function mesh_batman { sudo apt-get -y install python-dev libevent-dev ebtables python-pip sudo apt-get -y install wireless-tools rfkill sudo apt-get -y install irssi mumble - sudo apt-get -y install toxic + if [ ! -f /usr/bin/toxic ]; then + sudo apt-get -y install toxic + echo "n +/nick $USER +/exit +" | /usr/bin/toxic -d + fi fi batman_script=/tmp/batman