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
0e89a3fb
Commit
0e89a3fb
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Torify invite code
parent
805f5e24
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-app-scuttlebot
+3
-2
3 additions, 2 deletions
src/freedombone-app-scuttlebot
with
3 additions
and
2 deletions
src/freedombone-app-scuttlebot
+
3
−
2
View file @
0e89a3fb
...
...
@@ -44,7 +44,8 @@ scuttlebot_variables=(MY_USERNAME
SYSTEM_TYPE
)
function
scuttlebot_create_invite
{
invite_string
=
$(
su
-c
"sbot invite.create 1"
- scuttlebot |
sed
's/"//g'
)
SCUTTLEBOT_ONION_HOSTNAME
=
$(
cat
/var/lib/tor/hidden_service_scuttlebot/hostname
)
invite_string
=
$(
su
-c
"sbot invite.create 1"
- scuttlebot |
sed
's/"//g'
|
sed
's/$DEFAULT_DOMAIN_NAME/$SCUTTLEBOT_ONION_HOSTNAME/g'
)
clear
echo
-e
'\n\nYour Scuttlebot invite code is:\n\n'
${
invite_string
}
'\n\n'
...
...
@@ -233,7 +234,7 @@ function install_scuttlebot {
fi
echo
'{'
>
/etc/scuttlebot/.ssb/config
echo
"
\"
host
\"
:
\"
${
SCUTTLEBOT_ONION_HOST
NAME
}
\"
,"
>>
/etc/scuttlebot/.ssb/config
echo
"
\"
host
\"
:
\"
${
DEFAULT_DOMAIN_
NAME
}
\"
,"
>>
/etc/scuttlebot/.ssb/config
echo
"
\"
port
\"
:
${
SCUTTLEBOT_PORT
}
,"
>>
/etc/scuttlebot/.ssb/config
echo
' "timeout": 30000,'
>>
/etc/scuttlebot/.ssb/config
echo
' "pub": true,'
>>
/etc/scuttlebot/.ssb/config
...
...
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