#!/bin/bash # this program is run in the background to show a bye message on the console. export LIGHTWEIGHT_INIT=true # make sure we just get our variables. source ~/yeti/shells/profile.sh export host=`hostname` # use this to always print the message. # export hostlist=$host # only print on a few... export hostlist='chandra curve frylock gulliver hamstergate lagomorph \ mrowrt numenor pretzel samuraijack shaggy shakezula velma wolfe ' #hmmm: this hostlist is highly dependent on my own favorite host names. # to commoditize this, we need to use a config file for the list. # set our domain name based on what's found in the resolv.conf file, where # dns info is often found. DOMAIN_NAME=`grep -i search >~/host_matched_in_byejob.txt ( /bin/bash <