From 468ea632961f3e892e3917bd57c3519a5b97c1d4 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 19 Jan 2011 14:45:14 +0000 Subject: [PATCH] update manpage with postscript support git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/xdcp.1.pod | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/xCAT-client/pods/man1/xdcp.1.pod b/xCAT-client/pods/man1/xdcp.1.pod index 46ff249fd..7658eee72 100644 --- a/xCAT-client/pods/man1/xdcp.1.pod +++ b/xCAT-client/pods/man1/xdcp.1.pod @@ -129,6 +129,25 @@ For example: /etc/* -> /etc/ +B: + +After you define the files to rsync, you can add an B clause in the synclist file. The B clause will list all the postscripts that you would like to run after the files are sync'd to the node. +The postscript file must be of the form B, reside in the same +directory as B, and be executable. +If the file B is rsync'd to the node, then the B +will automatically be run on the node. +If the file B is not updated on the node, the B will not be run. + +Putting the B in the file list to rsync to the node is required +for hierarchical clusters. It is optional for non-hierarchical cluster. + +For example, your rsynclist file may look like this: + /tmp/file2 -> /tmp/file2 + /tmp/file2.post -> /tmp/file2.post + # the below are postscripts + EXECUTE: + /tmp/file2.post + On Linux rsync always uses ssh remoteshell. On AIX, ssh or rsh is used depending on the site.useSSHonAIX attribute. =item B<-h>|B<--help>