#! /bin/sh

for i in $*
do
    echo "Start Daemon on $i"
    rsh $i /net/home/adicosta/ProActiveSecure/ProActive/scripts/unix/startP2PService.sh rmi 2410 -f /net/home/adicosta/ProActiveSecure/ProActive/ServerList3 &
    if [ $? = 0 ]
    then
	echo "rsh $i successfully"
    else
	echo "Couldn't do rsh in $i"
    fi
done

#! /bin/sh

for i in $*
do
    echo "Start Daemon on $i"
    rsh $i /net/home/adicosta/ProActiveSecure/ProActive/scripts/unix/startP2PService.sh rmi 2410 /net/home/adicosta/ProActiveSecure/ProActive/ServerList3 &
    if [ $? = 0 ]
    then
	echo "rsh $i succefully"
    else
	echo "Could't do rsh in $i"
    fi
done

--- 
+++ 
@@ -3,11 +3,11 @@
 for i in $*
 do
     echo "Start Daemon on $i"
-    rsh $i /net/home/adicosta/ProActiveSecure/ProActive/scripts/unix/startP2PService.sh rmi 2410 -f /net/home/adicosta/ProActiveSecure/ProActive/ServerList3 &
+    rsh $i /net/home/adicosta/ProActiveSecure/ProActive/scripts/unix/startP2PService.sh rmi 2410 /net/home/adicosta/ProActiveSecure/ProActive/ServerList3 &
     if [ $? = 0 ]
     then
-	echo "rsh $i successfully"
+	echo "rsh $i succefully"
     else
-	echo "Couldn't do rsh in $i"
+	echo "Could't do rsh in $i"
     fi
 done
Update to new command line and fix typos


git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@1508 28e8926c-6b08-0410-baaa-805c5e19b8d6
