Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
359a4101
Commit
359a4101
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Create tox user
parent
4ede6024
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-image-mesh
+7
-0
7 additions, 0 deletions
src/freedombone-image-mesh
with
7 additions
and
0 deletions
src/freedombone-image-mesh
+
7
−
0
View file @
359a4101
...
...
@@ -444,6 +444,12 @@ function configure_toxcore {
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
{
if
[
!
-d
/home/
$DEFAULT_USERNAME
]
;
then
echo
$"Home directory for
$DEFAULT_USERNAME
not found"
...
...
@@ -682,6 +688,7 @@ if [ -f $MESH_INSTALL_SETUP ]; then
configure_zeronet_forum
configure_zeronet_id
configure_toxcore
create_tox_user
configure_zeronet
disable_password_logins
disable_screen_lock
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment