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 fixes, change sy host, deploy some new stuff
[distro-setup]
/
rootsshsync
diff --git
a/rootsshsync
b/rootsshsync
index b4335dbcbbccfdb9164e44b4762dffcbba089268..6b28fcbe41bdede68ae8d1a28c85a659fba3f2ba 100755
(executable)
--- a/
rootsshsync
+++ b/
rootsshsync
@@
-37,9
+37,11
@@
fi
find $user_ssh_dir -xtype l -exec rm '{}' \;
# -t times, so it won't rewrite the file every time,
# -L resolve links
find $user_ssh_dir -xtype l -exec rm '{}' \;
# -t times, so it won't rewrite the file every time,
# -L resolve links
-rsync --exclude=/h --exclude=/h.pub --exclude /config --exclude /confighome -rtL --delete $user_ssh_dir/ /root/.ssh
+rsync --exclude=/h --exclude=/h.pub \
+ --exclude=/hrsa --exclude=/hrsa.pub \
+ --exclude /config --exclude /confighome -rtL --delete $user_ssh_dir/ /root/.ssh
if [[ -e /q/root/h ]]; then
if [[ -e /q/root/h ]]; then
- cp -a /q/root/
h
{,.pub} /root/.ssh
+ cp -a /q/root/
{h,hrsa}
{,.pub} /root/.ssh
fi
if [[ -e $user_ssh_dir/config ]]; then
fi
if [[ -e $user_ssh_dir/config ]]; then