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
3fab4e6c
Commit
3fab4e6c
authored
9 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Tracker port
parent
7324b386
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-mesh
+6
-4
6 additions, 4 deletions
src/freedombone-mesh
with
6 additions
and
4 deletions
src/freedombone-mesh
+
6
−
4
View file @
3fab4e6c
...
...
@@ -50,6 +50,7 @@ ZERONET_REPO='https://github.com/bashrc/ZeroNet'
ZERONET_DIR
=
~/zeronet
ZERONET_DEFAULT
=
1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F
ZERONET_URL
=
http://127.0.0.1:43110/
$ZERONET_DEFAULT
TRACKER_PORT
=
6969
function
install_zeronet
{
if
[
-d
$ZERONET_DIR
]
;
then
...
...
@@ -385,13 +386,14 @@ if [[ $peer_index == 1 ]]; then
fi
cd
$ZERONET_DIR
if
[
!
-d
~/.bttrack
]
;
then
mkdir
~/.bttrack
fi
existing_bttrack
=
$(
ps aux |
grep
bttrack |
wc
-l
)
if
[
$existing_bttrack
-lt
"2"
]
;
then
bttrack
--port
$TRACKER_PORT
--dfile
~/.bttrack/dstate
--logfile
~/.bttrack/tracker.log
--nat_check
0
--scrape_allowed
full &
if
[
!
-d
~/.bttrack
]
;
then
mkdir
~/.bttrack
fi
echo
'***********************************'
bttrack
--port
${
TRACKER_PORT
}
--dfile
~/.bttrack/dstate
--logfile
~/.bttrack/tracker.log
--nat_check
0
--scrape_allowed
full &
fi
zeronetavahi
...
...
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