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
69116d36
Commit
69116d36
authored
Feb 25, 2022
by
Dmitriy Safronov
Browse files
Options
Downloads
Patches
Plain Diff
Update sync.sh
parent
0eec3bd8
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#6629
failed
Mar 23, 2022
Stage: pack
Stage: scan
Stage: release
Changes
1
Pipelines
27
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sync.sh
+1
-1
1 addition, 1 deletion
sync.sh
with
1 addition
and
1 deletion
sync.sh
+
1
−
1
View file @
69116d36
...
@@ -27,6 +27,6 @@ warning "Starting at $(date -u)"
...
@@ -27,6 +27,6 @@ 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
-acxv
n
--no-times
--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
-acxv
--no-times
--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
)
"
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