add comments to explain
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -26,9 +26,11 @@ for i in $*; do | ||||
|   filebackup="$nodesyncfiledirorg$orgfile" | ||||
|   # now do the work | ||||
|   mkdir -p $filebackupdir  | ||||
|   # if there does not exist an original backup, make one | ||||
|   if [ ! -f "$filebackup" ]; then | ||||
|     cp -p $orgfile $filebackup | ||||
|   fi | ||||
|   # copy original backup to the local file and append | ||||
|   cp -p $filebackup $orgfile | ||||
|   cat $appendfile >> $orgfile | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user