iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bunch of new stuff, a few fixes
[distro-setup]
/
rootsshsync
diff --git
a/rootsshsync
b/rootsshsync
index 965bdbe584671c75cff024de3e47c0ee7975ea87..13100b6a378f7605fb356be8181c293b8c875971 100755
(executable)
--- a/
rootsshsync
+++ b/
rootsshsync
@@
-59,7
+59,9
@@
if [[ -e $user_ssh_dir/config ]]; then
fi
chown -R root:root /root/.ssh
fi
chown -R root:root /root/.ssh
-rsync -tp --chmod=755 --chown=root:root /a/bin/fai/fai/config/files/usr/local/bin/hssh/IANK /usr/local/bin/hssh
+# --update, -u skip files that are newer on the receiver
+# I often push out a new hssh
+rsync -tpu --chmod=755 --chown=root:root /a/bin/fai/fai/config/files/usr/local/bin/hssh/IANK /usr/local/bin/hssh
if [[ -e /a/opt/btrbk/ssh_filter_btrbk.sh ]]; then
install /a/opt/btrbk/ssh_filter_btrbk.sh /usr/local/bin
if [[ -e /a/opt/btrbk/ssh_filter_btrbk.sh ]]; then
install /a/opt/btrbk/ssh_filter_btrbk.sh /usr/local/bin