--- a/ha-sync Thu May 24 12:51:16 2007 +0000
+++ b/ha-sync Thu May 24 13:07:39 2007 +0000
@@ -81,10 +81,14 @@
echo "processing acl..."
find ${FS##/} -xdev -depth -not -type l -print0 | xargs -0 getfacl --skip-base \
- | ssh `other` 'cd / && setfacl --restore -'
+ | ssh -i $SSHID `other` 'cd / && setfacl --restore -'
done
# we do not sync the kernel anymore!
#test "$opt_dry" || ${opt_debug+echo} ssh -i $SSHID `other` update-grub
+
+test "$opt_dry" \
+ || ${opt_debug+echo} \
+ ssh -i $SSHID `other` "run-parts /etc/ha-sync/scripts"