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
ad9bf8cb
Commit
ad9bf8cb
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
cron style
parent
730b8c32
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/freedombone-app-tox
+1
-1
1 addition, 1 deletion
src/freedombone-app-tox
src/freedombone-app-zeronet
+1
-1
1 addition, 1 deletion
src/freedombone-app-zeronet
src/freedombone-mesh
+1
-1
1 addition, 1 deletion
src/freedombone-mesh
with
3 additions
and
3 deletions
src/freedombone-app-tox
+
1
−
1
View file @
ad9bf8cb
...
...
@@ -504,7 +504,7 @@ EOF
if
[
!
-f
$rootdir
/usr/local/bin/toxavahi
]
;
then
exit
3621729
fi
echo
"* * * * * root /usr/local/bin/toxavahi > /dev/null"
>>
$rootdir
/etc/crontab
echo
"*
/1
* * * * root /usr/local/bin/toxavahi > /dev/null"
>>
$rootdir
/etc/crontab
}
function
mesh_tox_client
{
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-app-zeronet
+
1
−
1
View file @
ad9bf8cb
...
...
@@ -555,7 +555,7 @@ function mesh_zeronet {
chroot
"
$rootdir
"
chown
-R
tracker:tracker
$MESH_INSTALL_DIR
/tracker
# publish regularly
echo
"* * * * * root zeronetavahi > /dev/null"
>>
$rootdir
/etc/crontab
echo
"*
/1
* * * * root
/usr/local/bin/
zeronetavahi > /dev/null"
>>
$rootdir
/etc/crontab
chroot
"
$rootdir
"
systemctl
enable
tracker.service
chroot
"
$rootdir
"
systemctl
enable
zeronet.service
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-mesh
+
1
−
1
View file @
ad9bf8cb
...
...
@@ -172,7 +172,7 @@ function install_toxid {
if
!
grep
-Fxq
"toxavahi"
/etc/crontab
;
then
cp
/etc/crontab /tmp/crontab
echo
"* * * * * root toxavahi > /dev/null"
>>
/tmp/crontab
echo
"*
/1
* * * * root toxavahi > /dev/null"
>>
/tmp/crontab
sudo cp
/tmp/crontab /etc/crontab
rm
/tmp/crontab
fi
...
...
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