Skip to content
GitLab
Explore
Sign in
Tools
Docker
Git Rsync To OpenWRT
Compare revisions
b891ebd6fd765c52eb4cf18a969900238a640a9f to 0eec3bd8aa519bfdbaa10756b78a29991fcf1088
Commits on Source (2)
--no-times
· d4771bf9
Дмитрий Сафронов
authored
Feb 19, 2022
d4771bf9
Merge branch 's' into 'master'
· 0eec3bd8
Дмитрий Сафронов
authored
Feb 19, 2022
--no-times See merge request docker/git-rsync-to-openwrt!4
0eec3bd8
Hide whitespace changes
Inline
Side-by-side
sync.sh
View file @
0eec3bd8
...
@@ -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
-acxvn
--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
-acxvn
--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
)
"