[Thread Prev][Thread Next][Thread Index]

Re: Multiple Cradles on Server



> A SunServer loading prc files and memo's to a terminal server
> or serial multiport boards, guess is there already software
> scripts to do this with our eyes closed ??

This is pretty easy.

I assume what you want to do is make all of the pilots identical ?
Assuming also that all of the serial devices are "local" to the
machine then....


If so all you need to do is generate a directory with all of the files
you want to dump on to the pilots and then use pilot-xfer -r
To do all of them in parallel just requires that you do something like


#!/bin/sh

TTYS=/dev/term/*
DATA_DIR=....

for i in $TTYS ; do
	
	(echo "Staring Sync on $i ; pilot-xfer $i -r $DATA_DIR ;
	 echo "Completed Sync on $) &
	 
done

	

--
Darren J Moffat



------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo