|
@@ -444,6 +444,12 @@ function configure_toxcore {
|
444
|
444
|
echo $'Configured toxcore' >> $INSTALL_LOG
|
445
|
445
|
}
|
446
|
446
|
|
|
447
|
+function create_tox_user {
|
|
448
|
+ if [ ! -f /home/${MY_USERNAME}/.config/tox/data.tox ]; then
|
|
449
|
+ toxid -u $MY_USERNAME -n data
|
|
450
|
+ fi
|
|
451
|
+}
|
|
452
|
+
|
447
|
453
|
function disable_password_logins {
|
448
|
454
|
if [ ! -d /home/$DEFAULT_USERNAME ]; then
|
449
|
455
|
echo $"Home directory for $DEFAULT_USERNAME not found"
|
|
@@ -682,6 +688,7 @@ if [ -f $MESH_INSTALL_SETUP ]; then
|
682
|
688
|
configure_zeronet_forum
|
683
|
689
|
configure_zeronet_id
|
684
|
690
|
configure_toxcore
|
|
691
|
+ create_tox_user
|
685
|
692
|
configure_zeronet
|
686
|
693
|
disable_password_logins
|
687
|
694
|
disable_screen_lock
|