- Timestamp:
- 04/12/06 17:02:32 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks
r7628 r7636 55 55 reason1="Pulse is too much to the right, cannot go beyond logain limits!" 56 56 reason2="Pulse is too much to the left, cannot go below 0!" 57 echo "reason: "$reason >> $scriptlog 2>&1 57 echo "reason1: "$reason1 >> $scriptlog 2>&1 58 echo "reason2: "$reason2 >> $scriptlog 2>&1 58 59 59 60 # find files containing reason … … 73 74 for file in $files 74 75 do 75 pulse=`cat $file | grep "$reason1\|$reason2"` >> $scriptlog 2>&176 pulse=`cat $file | grep "$reason1\|$reason2"` 76 77 sequ=`echo $file | cut -d/ -f6` 78 path=`dirname $file` 79 callistorc=$dirname/$callistorcseq 77 80 78 81 if [ ! "$pulse" = "" ] 79 82 then 80 if ! ls -l $callistorc seq| grep $callistorcnew >> $scriptlog 2>&183 if ! ls -l $callistorc | grep $callistorcnew >> $scriptlog 2>&1 81 84 then 82 85 # resetting the calibration 83 86 echo "resetting the callisto for sequence $sequ" >> $scriptlog 2>&1 87 echo " reason: $pulse" >> $scriptlog 2>&1 84 88 resetlogpath=$logpath/resetcallisto 85 89 echo "resetlogpath: $resetlogpath" >> $scriptlog 2>&1 … … 94 98 continue ;; 95 99 esac 96 #linking callisto.rc 97 path=`dirname $file` >> $scriptlog 2>&1 98 ln -vfs $setuppath/callisto/$callistorcnew $path/$callistorcseq >> $scriptlog 2>&1 100 #linking callisto.rc 101 ln -vfs $setuppath/callisto/$callistorcnew $callistorc >> $scriptlog 2>&1 99 102 fi 100 103 fi
Note:
See TracChangeset
for help on using the changeset viewer.