X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=rootsshsync;fp=rootsshsync;h=13100b6a378f7605fb356be8181c293b8c875971;hb=8796be333861fd2edc6c8b9b4c22307c11fce409;hp=965bdbe584671c75cff024de3e47c0ee7975ea87;hpb=656f61e21be6e2f1f4abb456a845340412e8b8a0;p=distro-setup diff --git a/rootsshsync b/rootsshsync index 965bdbe..13100b6 100755 --- a/rootsshsync +++ b/rootsshsync @@ -59,7 +59,9 @@ if [[ -e $user_ssh_dir/config ]]; then 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