Skip to content
Snippets Groups Projects
Commit 637cc761 authored by Bob Mottram's avatar Bob Mottram
Browse files

Use username as default tox nick

parent 8f216311
No related branches found
No related tags found
No related merge requests found
......@@ -51,12 +51,14 @@ QTOX_COMMIT='27a628a3789fca4f31516c3982e580052dd3c773'
function run_client_tox {
# create a tox user
if [ ! -f /home/${USER}/.config/tox/data.tox ]; then
USER_TOX_FILE=/home/${USER}/.config/tox/data.tox
if [ ! -f $USER_TOX_FILE ]; then
mkdir -p /home/${USER}/.config/tox
chown -R ${USER}:${USER} /home/${USER}/.config
toxid -u ${USER} -n data
toxid --setuser ${USER}
fi
toxic -f /home/${USER}/.config/tox/data.tox --force-tcp --SOCKS5-proxy 127.0.0.1 9050
toxic -f $USER_TOX_FILE --force-tcp --SOCKS5-proxy 127.0.0.1 9050
}
function install_interactive_tox {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment