X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=rootsshsync;h=13100b6a378f7605fb356be8181c293b8c875971;hb=3f6c5b1f2c72614ee8cb4d0e4325e7beddda9c04;hp=965bdbe584671c75cff024de3e47c0ee7975ea87;hpb=ce4cacd36c5b5babeea85d0f93771017e6169180;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