#! /bin/bash
curl "https://ptx-vernier-cs.net.umd.edu:443/logon" | ./mam.pl



# Adam Sulmicki says: instead of this file, you can also 
# put it in /etc/dhclient-exit-hooks, so that it is called 
# after dhclient finish setup. It works for redhat 8.0
#
# so, /etc/dhclient-exit-hooks then looks as follows: (minus the #)
#>>#!bin/sh
#>>
#>>if [ ${DEVICE} = eth1 ] ; then
#>>        #echo "setting up eth1" | mail adam@cfar.umd.edu
#>>        curl "https://ptx-vernier-cs.net.umd.edu:443/logon" | /etc/mam/mam.pl
#>>fi


