#!/bin/csh -f # updates the location file on www.inscoe.org # # uses pushfile expect script to push the file through the firewall # # written by Kevin P. Inscoe (kevin@inscoe.org) 11/3/98 # # set globals set locn = "/tmp/location.html" set lfile = `/bin/basename $locn` set ldir = `/bin/dirname $locn` # create location /bin/rm -f $locn /bin/echo "gone home" > $locn # push the file and cleanup cd $ldir ~kinscoe/scripts/pushfile $lfile /bin/rm -f $locn