Create tox user
This commit is contained in:
parent
4ede602424
commit
359a410123
|
@ -444,6 +444,12 @@ function configure_toxcore {
|
||||||
echo $'Configured toxcore' >> $INSTALL_LOG
|
echo $'Configured toxcore' >> $INSTALL_LOG
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function create_tox_user {
|
||||||
|
if [ ! -f /home/${MY_USERNAME}/.config/tox/data.tox ]; then
|
||||||
|
toxid -u $MY_USERNAME -n data
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function disable_password_logins {
|
function disable_password_logins {
|
||||||
if [ ! -d /home/$DEFAULT_USERNAME ]; then
|
if [ ! -d /home/$DEFAULT_USERNAME ]; then
|
||||||
echo $"Home directory for $DEFAULT_USERNAME not found"
|
echo $"Home directory for $DEFAULT_USERNAME not found"
|
||||||
|
@ -682,6 +688,7 @@ if [ -f $MESH_INSTALL_SETUP ]; then
|
||||||
configure_zeronet_forum
|
configure_zeronet_forum
|
||||||
configure_zeronet_id
|
configure_zeronet_id
|
||||||
configure_toxcore
|
configure_toxcore
|
||||||
|
create_tox_user
|
||||||
configure_zeronet
|
configure_zeronet
|
||||||
disable_password_logins
|
disable_password_logins
|
||||||
disable_screen_lock
|
disable_screen_lock
|
||||||
|
|
Loading…
Reference in New Issue