From: Andrew M. <fit...@us...> - 2006-05-01 16:59:51
|
Update of /cvsroot/radmind/radmind-assistant In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32077 Modified Files: 600.radmind Log Message: Restored random sleep to script. (Thanks Greg Neagle) Index: 600.radmind =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/600.radmind,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** 600.radmind 25 Mar 2006 01:17:35 -0000 1.7 --- 600.radmind 1 May 2006 16:59:46 -0000 1.8 *************** *** 13,19 **** --- 13,23 ---- ihook="/Applications/Utilities/iHook.app/Contents/MacOS/iHook" radmindhook="/etc/hooks/radmind.hook" + maxsleep=3600 touch /var/radmind/client/.RadmindRunning + sleep `perl -e 'srand (time ^ $$ ^ unpack "%L*", \` ps axww | gzip\`);\ + print int(rand( $ARGV[0] ));' $maxsleep` + if who | grep console > /dev/null; then logger -si -t $0 User logged in, radmind session \ |