Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Git Rsync To OpenWRT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tools
Docker
Git Rsync To OpenWRT
Commits
6c502afc
Commit
6c502afc
authored
Feb 18, 2022
by
Dmitriy Safronov
Browse files
Options
Downloads
Patches
Plain Diff
s
parent
eeab3d67
Branches
Branches containing commit
No related tags found
1 merge request
!2
s
Pipeline
#5198
passed
Feb 18, 2022
Stage: lint
Stage: pack
Stage: scan
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sync.sh
+2
-0
2 additions, 0 deletions
sync.sh
with
2 additions
and
0 deletions
sync.sh
+
2
−
0
View file @
6c502afc
...
@@ -28,3 +28,5 @@ warning "Starting at $(date -u)"
...
@@ -28,3 +28,5 @@ warning "Starting at $(date -u)"
find overlay/
-type
f
-name
.gitkeep
-delete
find overlay/
-type
f
-name
.gitkeep
-delete
LC_ALL
=
C.UTF-8 rsync
-avn
--delete-after
--exclude
'*-opkg'
-e
"ssh -p
${
OPENWRT_SSH_PORT
:-
22
}
"
overlay/
"
${
OPENWRT_SSH_HOST
:-
root
@192.168.0.1
}
:/overlay/upper/"
||
die
"Couldn't rsync config"
LC_ALL
=
C.UTF-8 rsync
-avn
--delete-after
--exclude
'*-opkg'
-e
"ssh -p
${
OPENWRT_SSH_PORT
:-
22
}
"
overlay/
"
${
OPENWRT_SSH_HOST
:-
root
@192.168.0.1
}
:/overlay/upper/"
||
die
"Couldn't rsync config"
success
"Done at
$(
date
-u
)
"
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