- run-parts integrated
authorheiko
Thu, 24 May 2007 13:07:39 +0000
changeset 20 96b8ba1582f7
parent 19 3b37618b5bdc
child 21 321150f84a45
- run-parts integrated
ha-sync
--- 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"