#!/bin/bash
#
# RC5 buffer update (fetch/flush) script
#
# Version   : 1.0.6
# Date      : 10/22/1999
#
# Copyright : (C) Brad Mertz 1999
#
# Please refer to README for Disclaimer and GNU GENERAL PUBLIC LICENSE
#
# Modify the /rc5/... path to whereever RC5 is located.  You MUST use
# absolute paths, ~/..., etc will not always work through RSH.
#

# This script is to prevent buffer lockups when the buffers reach the
# max threshold and multiple nodes want to fetch/flush all at the same
# time! (BAD!)
#
# Instead a certain node (replace COMPUTERNAME) from each OS type is RSH'd
# into and told to update itself.  Set a cronjob to run this 10 minutes
# before the nodes are set to go online/offline.

# Solaris Sparc RC5 Update
/usr/bin/rsh -n COMPUTERNAME /rc5/automated/flush_sparc &

# Solaris UltraSparc RC5 Update
/usr/bin/rsh -n COMPUTERNAME /rc5/automated/flush_ultra &

# RedHat X86 RC5 Update
/usr/bin/rsh -n COMPUTERNAME /rc5/automated/flush_x86 &

